[aspectc-user] error: value for enumerator `_M_type' isn't integer constant expression
Mariano Ceccato
ceccato at itc.it
Wed Sep 21 16:59:14 CEST 2005
Aspectc developers,
I found a strange error while trying to compile a piece of code
containing a function object.
The same class does compile using g++, so I argue that this can be an
ac++ bug.
The output I get from the ac++ compiler is the following:
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3/bits/cpp_type_traits.h:312:
error: value for enumerator `_M_type' isn't integer constant expression
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3/bits/cpp_type_traits.h:324:
error: value for enumerator `_M_type' isn't integer constant expression
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3/bits/cpp_type_traits.h:336:
error: value for enumerator `_M_type' isn't integer constant expression
and the source example is attached.
Regards,
Mariano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Example.cpp
Type: text/x-c++src
Size: 191 bytes
Desc: not available
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20050921/15a6ae95/attachment.cpp>
More information about the aspectc-user
mailing list