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]

Another problem in EGCS - C++


Bug in egcs-19981109 (full snapshot) (compiled for linux 2.0.35 with gcc
2.7.2.3 / glibc)

 <<bitfield_template.cpp>> 
>/usr/local/bin/g++ -o main bitfield_template.cpp
bitfield_template.cpp: In function `int main()':
bitfield_template.cpp:14: attempt to take address of bit-field structure
member `a'

Bitfield is not a type. Function template should not try to instanciate with
such parameter.

Regards,

Antoine BUAT

bitfield_template.cpp


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