#10 Compilation errors in VS 2010

closed-fixed
nobody
None
5
2011-03-03
2011-03-03
No

Having changed the options back to those I require, it now fails to compile due to undeclared identifiers.
In internaljsonnode.cpp lines 573, 574 and 603, constants such as LONG_LONG_MIN are used which are not defined. In <limits.h> I have LLONG_MIN etc. I don't know what is standard.

Discussion

  • Jonathan Wallace

    Actually, neither of those are standard. The long long type is not standard in C++ at all. C++0x will change that, but until then, different compilers seemingly use different definitions. I added compiler checks for those and fixed them.

    I will try to push a new fixed version out today, but until then, you can remove those lines, they only check to make sure that the value is in range.

     
  • Jonathan Wallace

    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks