Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 6 years ago

Language

C++

Compiler

gcc HEAD 10.0.0 20190501 (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:3:8: error: 'igraph_integer_t' does not name a type
    3 | inline igraph_integer_t *begin(igraph_vector_int_t &vec) { return vec.stor_begin; }
      |        ^~~~~~~~~~~~~~~~
prog.cc:4:8: error: 'igraph_integer_t' does not name a type
    4 | inline igraph_integer_t *end(igraph_vector_int_t &vec) { return vec.end; }
      |        ^~~~~~~~~~~~~~~~
prog.cc:6:14: error: 'igraph_integer_t' does not name a type
    6 | inline const igraph_integer_t *cbegin(const igraph_vector_int_t &vec) { return vec.stor_begin; }
      |              ^~~~~~~~~~~~~~~~
prog.cc:7:14: error: 'igraph_integer_t' does not name a type
    7 | inline const igraph_integer_t *cend(const igraph_vector_int_t &vec) { return vec.end; }
      |              ^~~~~~~~~~~~~~~~
Exit Code:
1