I’ve freshly installed QNX6.1 + patchA development stuff.
And to my amezement this simplest piece of code cannot be compiled.
gcc -o xtest xtest.cpp
/usr/include/stdlib.h 239: ‘abort’ is already included
/usr/include/stdlib.h 239: ‘abs’ is already included
/usr/include/stdlib.h 239: ‘exit’ is already included
/usr/include/stdlib.h 239: ‘labs’ is already included
What is that? Is it a new feature?
Well, I found that if I either defined __GCC_BUILTIN or used
I could get rid of this error. I don’t reckon that it makes sence to replace
stdlib.h with cstdlib in all src files, so that defining __GCC_BUILTIN seems
to be ok but I did not find any info about this define.
If anyone can point to it I’d appreciate.