Opened 14 years ago

Closed 14 years ago

#2104 closed Bugs (wontfix)

Use of not implemented code/syntax affecting some compilers

Reported by: orangevixen@… 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)

output.txt (188.7 KB ) - added by orangevixen@… 14 years ago.
stdout of last build using egcs

Download all attachments as: .zip

Change History (7)

comment:1 by Marshall Clow, 14 years ago

What system and compiler are you using?

in reply to:  1 comment:2 by orangevixen@…, 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?

comment:3 by Marshall Clow, 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).

in reply to:  3 comment:4 by orangevixen@…, 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.

by orangevixen@…, 14 years ago

Attachment: output.txt added

stdout of last build using egcs

comment:5 by (none), 14 years ago

Milestone: Boost 1.35.1

Milestone Boost 1.35.1 deleted

comment:6 by Vladimir Prus, 14 years ago

Resolution: wontfix
Status: newclosed

I don't think there's any chance a egcs bug will be worked around.

Note: See TracTickets for help on using tickets.