Developer Studio issue with C++ and double floating point


#1

I use C++ for my project and faced with issue with double floating-point numbers. All operations was unpredictable, even assignment. After a half day of research I figured out that the problem is in compiler options, that Developer Studio generates for g++ command.
To fix it you should go to the “ARM EABI GCC C++ Compiler” settings, clear FPU support option in “ARM options” and append -msoft-float option in “Other flags”.

I use Developer Studio 2.3.1 and SL6087 modem.


#2

Thanks for the information, will probably be useful for anyone in the same use case.