This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bug report - cpp, x86


> This bug seems to have been caused by using a "std::vector<bool>" without
> "#include <vector>".

Thanks for your bug report. gcc-2.95.2 says

lab_3.h: At top level:
lab_3.h:20: syntax error before `;'
lab_3_lib.cpp: In method `My_gate::My_gate(int, basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >)':
lab_3_lib.cpp:15: `inputs' undeclared (first use this function)
lab_3_lib.cpp:15: (Each undeclared identifier is reported only once
lab_3_lib.cpp:15: for each function it appears in.)

so it correctly detects the error.

Regards,
Martin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]