Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 6 years ago

Language

C++

Compiler

gcc 4.9.3

Options
Warnings
Boost 1.64.0
C++14(GNU)
no pedantic

Author

anonymous

about 6 years ago

ArduinoJson.h

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.64.0/gcc-4.9.3/include -std=gnu++14
prog.cc: In function 'int main()':
prog.cc:39:5: error: 'Serial' was not declared in this scope
     Serial.print(F("deserializeJson() failed: "));
     ^
prog.cc:39:48: error: 'F' was not declared in this scope
     Serial.print(F("deserializeJson() failed: "));
                                                ^
prog.cc:41:5: error: return-statement with no value, in function returning 'int' [-fpermissive]
     return;
     ^
Exit Code:
1