Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 6 years ago

Language

C++

Compiler

gcc HEAD 10.0.0 20190527 (experimental)

Options
Warnings
Optimization
Don't Use Boost
C++2a
no pedantic
Raw compiler options
-pedantic -pthread

Author

anonymous

about 6 years ago

$ g++ prog.cc -Wall -Wextra -O2 -march=native -std=c++2a -pedantic -pthread
prog.cc:1:21: error: 'vector' in namespace 'std' does not name a template type
    1 |   static const std::vector<PrivateTransferProperty>* PrivateTransferProperties(PrivateTransfer::Index index, std::string modelName, std::string firmwareRevision);
      |                     ^~~~~~
prog.cc:1:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
  +++ |+#include <vector>
    1 |   static const std::vector<PrivateTransferProperty>* PrivateTransferProperties(PrivateTransfer::Index index, std::string modelName, std::string firmwareRevision);
Exit Code:
1