Bug#189489: #ifndef problem when including vector
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Subject: g++-3.3: #ifndef problem when including vector
Package: g++-3.3
Version: 1:3.3-0pre4
Severity: grave
Justification: renders package unusable
This simple program doesn't compile :
#ifndef toto
#define toto
#include <vector>
int main(int argc, char *argv[])
{
return 0;
}
#endif
> g++-3.3 test.cpp
In file included from /usr/include/c++/3.3/bits/stl_alloc.h:91,
from /usr/include/c++/3.3/vector:68,
from test.cpp:4:
/usr/include/c++/3.3/i386-linux/bits/atomicity.h:2:1: unterminated #ifndef
There is either a bug in the headers or in the compiler
Stephane
- -- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux nctlin.ysagoon.com 2.4.20-k7-highmem #1 Tue Dec 10 22:47:40 CET
2002 i686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8
Versions of packages g++-3.3 depends on:
ii gcc-3.3 1:3.3-0pre4 The GNU C compiler
ii gcc-3.3-base 1:3.3-0pre4 The GNU Compiler Collection (base
ii libc6 2.3.1-16 GNU C Library: Shared libraries
ii libstdc++5-3.3-dev 1:3.3-0pre4 The GNU Standard C++ Library v3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+n8fjkK/9a4l97XQRAmiFAJ9H6VvPamBkejlDLvXXW457TC/7XwCdGOdH
sG7xx+GIr73okFbtNOXh92s=
=2vDs
-----END PGP SIGNATURE-----
Reply to: