Fixed compilation warnings. Added -Wall to linux-gcc compilation. JSON_ASSERT_MESSAGE now throws exception (but JSON_ASSERT does not).

This commit is contained in:
Christopher Dunn
2007-05-09 19:35:15 +00:00
parent 842d64e8d7
commit a44cffb342
5 changed files with 25 additions and 24 deletions

View File

@@ -518,7 +518,7 @@ namespace Json {
class ValueAllocator
{
public:
enum { unknown = -1 };
enum { unknown = (unsigned)-1 };
virtual ~ValueAllocator();