Opened 14 years ago
Closed 14 years ago
#2104 closed Bugs (wontfix)
Use of not implemented code/syntax affecting some compilers
Reported by: | Owned by: | ||
---|---|---|---|
Milestone: | Component: | Building Boost | |
Version: | Boost 1.35.0 | Severity: | Showstopper |
Keywords: | compile error namespace_decl implemented implement name space namespace | Cc: |
Description
Throughout the code, there are numerous compile time errors, below is just an example:
boost/regex/v4/basic_regex.hpp:465: sorry, not implemented: `namespace_decl' not supported by dump_type boost/regex/v4/basic_regex.hpp:587: sorry, not implemented: `namespace_decl' not supported by dump_type boost/regex/v4/basic_regex.hpp:589: sorry, not implemented: `namespace_decl' not supported by dump_type boost/regex/v4/basic_regex.hpp:621: sorry, not implemented: `namespace_decl' not supported by dump_type boost/mpl/aux_/integral_wrapper.hpp:72: sorry, not implemented: conversion of template_type_parm as template parameter boost/mpl/aux_/integral_wrapper.hpp: At top level:
There are just too many to list all of them.
Attachments (1)
Change History (7)
follow-up: 2 comment:1 by , 14 years ago
comment:2 by , 14 years ago
Replying to marshall:
What system and compiler are you using?
Linux
egcs-2.91.66
Do you want me to run the build again on that system and output to a file and attach?
follow-up: 4 comment:3 by , 14 years ago
That's a very old compiler - I suspect that the problems that you are seeing are C++ constructs that it does not support (namespaces, for example).
comment:4 by , 14 years ago
I attached the output of the last build on that system.
Some of the problems seem to be optimizations that mess up the compiler (internal compiler errors). Those occure on gcc 3.0 as well as gcc 2.95, but they occure irregularly, meaning if I build it one time it may not error but if I run make again it errors. Which suggests its triggering a pointer-value dependent bug that's sometimes accessing memory outside of gcc's space and sometimes not.
The namespace problem occures for example:
In boost/regex/v4/basic_regex.hpp:215
explicit basic_regex(const charT* p, flag_type f = regex_constants::normal)
Produces the error:
boost/regex/v4/basic_regex.hpp:215: sorry, not implemented: `namespace_decl' not supported by dump_type
To fix it:
explicit basic_regex(const charT* p, flag_type f = normal)
This gets rid of the namespace problem.
comment:6 by , 14 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
I don't think there's any chance a egcs bug will be worked around.
What system and compiler are you using?