Subj : Re: uint64 constants To : borland.public.cpp.borlandcpp From : Gordon Gidluck Date : Sun Feb 13 2005 06:39 am The problem was with a #define /* adjust for compilers that can't understand using LLU suffix for uint64_t literals */ #ifdef _MSC_VER #define FLAC__U64L(x) x #else #define FLAC__U64L(x) x##LLU #endif Gordon "Gordon Gidluck" wrote: > >I am trying to compile FLAC (free lossless audio codec) on Borland C++ 5.02. > >How do you assign a 64-bit unsigned constant in Borland C++ ? > >FLAC_API const FLAC__uint64 FLAC__STREAM_METADATA_SEEKPOINT_PLACEHOLDER = FLAC__U64L(0xffffffffffffffff); > >This generates an error message "declaration syntax error". > >Gordon > .