Another problem in EGCS - C++

Antoine BUAT ABUAT@businessobjects.com
Wed Nov 18 10:10:00 GMT 1998


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bitfield_template.cpp
Type: text/x-c++
Size: 151 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19981118/77f301df/attachment.bin>


More information about the Gcc-bugs mailing list