Subject: toolchain/24387: C++ compiler cannot compile "iostream" anymore
To: None <gnats-bugs@gnats.NetBSD.org>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 02/11/2004 17:27:14
>Number:         24387
>Category:       toolchain
>Synopsis:       C++ compiler cannot compile "iostream" anymore
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 11 16:28:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6ZJ 2004-02-11 sources
>Organization:
Matthias Scheler                                  http://scheler.de/~matthias/
>Environment:
System: NetBSD lyssa.zhadum.de 1.6ZJ NetBSD 1.6ZJ (LYSSA) #0: Wed Feb 11 09:50:06 CET 2004 tron@lyssa.zhadum.de:/src/sys/compile/LYSSA i386
Architecture: i386
Machine: i386
>Description:
Our C++ compiler cannot compile a program which uses "iostream" anymore.

>How-To-Repeat:
tron@lyssa:~>cat tt.cpp 

#include <iostream>

int
main(int argc, char **argv)
{
        cout << "Test\n";
        return (0);
}

tron@lyssa:~>c++ tt.cpp -Wall -s -o tt                          
In file included from /usr/include/g++/bits/stl_iterator_base_funcs.h:68,
                 from /usr/include/g++/bits/stl_algobase.h:74,
                 from /usr/include/g++/memory:54,
                 from /usr/include/g++/string:48,
                 from /usr/include/g++/bits/locale_classes.h:47,
                 from /usr/include/g++/bits/ios_base.h:47,
                 from /usr/include/g++/ios:49,
                 from /usr/include/g++/ostream:45,
                 from /usr/include/g++/iostream:45,
                 from tt.cpp:2:
/usr/include/g++/bits/concept_check.h:52: warning: invalid character in macro parameter name
/usr/include/g++/bits/concept_check.h:52: badly punctuated parameter list in `#define'

>Fix:
None provided.

>Release-Note:
>Audit-Trail:
>Unformatted: