News for hackers. Stuff that matters.
Re:Show HN: Parson, lighweight json parser in C by eps on Sunday October 28, 2012 @02:47PM (#4709622)
Of course you'd get warnings compiling C code with C++ compiler. C doesn't require casting from void* to another pointer type... it's one of its best features :)
Re:Show HN: Parson, lighweight json parser in C by malkia on Sunday October 28, 2012 @04:04PM (#4709824)
Certain people would still like to compile this as a "CPP" file, examples are lua - it's in "C", but it's compilable as C++ too (some people then are more or less strict whether the function interfaces should be extern"C" or not).

Ayway, not that important... But there is a whole lot of people that like amalgated sources (typical examples - juce, freetype2, lua, sqlite) where you include in one or two files all the rest and they compile fine.

Re:Show HN: Parson, lighweight json parser in C by cmccabe on Sunday October 28, 2012 @05:35PM (#4710073)
Luckily for you, you can link objects files produced by the C compiler with object files produced by the C++ compiler. Crisis averted.