Hi,

I'm trying to make some automated builds for JCC in conda-forge and ran
into some compiler problems with the PRIxMAX macro on linux. For some
compilers it seems like one should set the __STDC_FORMAT_MACROS flag.

I did this by providing -D__STDC_FORMAT_MACROS in JCC_CFLAGS envirnoment
variable, but maybe one should add a #define __STDC_FORMAT_MACROS prior to
inttypes.h import in jcc.cpp. Don't know if this would give other problems
to other compilers..

The problem with this is described in:
https://stackoverflow.com/questions/14535556/why-doesnt-priu64-work-in-this-code

Best Regards
/Petrus

-- 
_____________________________________________
Petrus Hyvönen, Uppsala, Sweden
Mobile Phone/SMS:+46 73 803 19 00

Reply via email to