Language
C++
Compiler
clang 9.0.0
Options
Warnings
Boost 1.71.0
C++2a(GNU)
-pedantic-errors
$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.71.0/clang-9.0.0/include -std=gnu++2a -pedantic-errors Exit Code:
1
Author
anonymous
over 6 years ago
C++
clang 9.0.0
Author
anonymous
over 6 years ago
$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.71.0/clang-9.0.0/include -std=gnu++2a -pedantic-errors prog.cc:20:22: error: member access into incomplete type 'with_prop'
p.method1();
^
prog.cc:21:18: note: in instantiation of function template specialization 'table::operator()()::(anonymous class)::operator()(with_prop &)::(anonymous class)::operator()<with_prop>' requested here
}(p);
^
prog.cc:8:8: note: forward declaration of 'with_prop'
struct with_prop;
^
1 error generated.