mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
8c54814372
* Some initial support for FreeBSD-alpha * Add some optimizations required by g77, which still might be of some use to adventuring C/C++ programmers. Obtained from: OpenBSD (parts)
18 lines
393 B
Plaintext
18 lines
393 B
Plaintext
--- cp/lex.c.orig Wed Nov 26 12:13:20 1997
|
|
+++ cp/lex.c Tue Aug 11 13:37:17 1998
|
|
@@ -3329,6 +3329,14 @@
|
|
token_buffer[0] = '^';
|
|
token_buffer[1] = 0;
|
|
}
|
|
+ else if (ptr->token == NAMESPACE)
|
|
+ {
|
|
+ static int warned;
|
|
+ if (! warned)
|
|
+ warning ("namespaces are mostly broken in this version of g++");
|
|
+
|
|
+ warned = 1;
|
|
+ }
|
|
|
|
value = (int) ptr->token;
|
|
}
|