mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-30 18:55:57 +08:00
Set *correct* g++ options.
From-SVN: r29377
This commit is contained in:
parent
6e47d69e32
commit
a992ebf6ce
@ -1,6 +1,6 @@
|
||||
// Bug: f1 and f2 are treated as overloaded when they aren't.
|
||||
// Build don't link:
|
||||
// Special g++ Options: -pedantic -errors -w
|
||||
// Special g++ Options: -ansi -pedantic-errors -w
|
||||
|
||||
int i;
|
||||
void f1(double) { }
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Bug: func is treated as an overloaded function when it isn't.
|
||||
// Build don't link:
|
||||
// Special g++ Options: -pedantic -errors -w
|
||||
// Special g++ Options: -ansi -pedantic-errors -w
|
||||
|
||||
int *func () { return 0; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user