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++11(GNU)
-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++11 -pedantic
prog.cc: In member function 'void MyClass::method()':
prog.cc:10:45: error: expected primary-expression before '>' token
         JsonVariant var = doc.as<JsonVariant>();
                                             ^
prog.cc:10:47: error: expected primary-expression before ')' token
         JsonVariant var = doc.as<JsonVariant>();
                                               ^
Exit Code:
1