This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Another problem in EGCS - C++
- To: "'egcs-bugs at cygnus dot com'" <egcs-bugs at cygnus dot com>
- Subject: Another problem in EGCS - C++
- From: Antoine BUAT <ABUAT at businessobjects dot com>
- Date: Wed, 18 Nov 1998 17:34:41 +0100
- Cc: "'jason at cygnus dot com'" <jason at cygnus dot com>
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