RE: detecting the linaro toolchain via C/C++ preprocessor

2014-03-09 Thread Vermeulen, Michiel
If your code is sensitive to the size of long long, can you use the predefine: __SIZEOF_LONG_LONG__ If that doesn't work, then you can use: gcc -dM -E - /dev/null to tell you what predefines a gcc compiler has (I would probably look for predefines more

RE: detecting the linaro toolchain via C/C++ preprocessor

2014-03-08 Thread Pinski, Andrew
Huh? Long long is 64bit using the linaro toolchains. Are you using just %ld rather than %lld ? Anyways this sounds like a bug which should be reported rather than worked around if it is truely a bug in the toolchain rather than your code. Thanks, Andrew