Bug 25958 - [4.2 Regression] Objective-C++ is broken a different way
Summary: [4.2 Regression] Objective-C++ is broken a different way
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: objc++ (show other bugs)
Version: 4.2.0
: P3 normal
Target Milestone: 4.2.0
Assignee: Not yet assigned to anyone
URL:
Keywords: build
Depends on:
Blocks:
 
Reported: 2006-01-25 14:07 UTC by Andrew Pinski
Modified: 2006-01-25 15:13 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Pinski 2006-01-25 14:07:06 UTC
From <http://gcc.gnu.org/ml/gcc/2006-01/msg00953.html>:
The following:

2006-01-23 Volker Reichelt <reichelt@igpm.rwth-aachen.de>

        * cp-tree.h (do_poplevel): Remove prototype.
        * semantics.c (do_poplevel): Add prototype.  Make static.


Is a plain mistake due to:

../.././gcc/objcp/objcp-decl.c: In function 'tree_node* objcp_end_compound_stmt(tree_node*, int)':
../.././gcc/objcp/objcp-decl.c:114: error: 'do_poplevel' was not declared in this scope
../.././gcc/objcp/objcp-decl.c:118: error: 'do_poplevel' was not declared in this scope
Comment 1 Andrew Pinski 2006-01-25 15:13:08 UTC
Fixed by:
        Revert:
        * cp-tree.h (do_poplevel): Remove prototype.
        * semantics.c (do_poplevel): Add prototype.  Make static.

        Revert:
        * cp-tree.h (default_conversion): Remove prototype.
        * typeck.c (default_conversion): Make static.