Closed nikhilgupta10 closed 8 years ago
nikhilgupta10 imported these comments from Sourceforge: "dchassin":I thought these were all caught. The proper fix is to put (const char*) in front of the argument being passed. The next line of output indicated which is the offending parameter.,
"dchassin":- status: new --> assigned
Priority: none --> blocker ,
"dchassin":These have been fixed with suitable use of const char ptr casts.,
"dchassin":- status: assigned --> closed
Compiling 3.1 (r4797) fails when compiling on OSX. It seems gcc has caught an error in formulating an error message string:
climate/climate.cpp:558:72: error: cannot pass object of non-POD type 'char1024' (aka 'charbuf<1025>') through variadic function; call will abort at runtime [-Wnon-pod-varargs] ...no csv_reader specified for tmyfile %s\, tmyfile);
Workaround: copying/merging in the trunk (r4806) climate.cpp file allows it to compile. In the trunk file this warning message has been replaced with (an attempt at?) simply opening a csv reader rather than throwing an error. ,