negating -include on the command line
Geoff Keating
geoffk@geoffk.org
Mon Dec 15 21:43:00 GMT 2003
Benjamin Kosnik <bkoz@redhat.com> writes:
> I've got a CPP and testsuite question: is there a way to do something like:
>
> g++ -include bits/stdc++.h -noinclude bits/stdc++.h foo.cc?
>
> This is a contrived example.
>
> Ie, I'm interested in setting up a bunch of testcases (libstd++
> testsuite) that run with certain, defined flags (including the '-include
> bits/stdc++.h' bit above). However, on some select files, I'd like to
> pass in an extra flag that removes the pch file from the compilation
> line.
>
> How do I do this?
No, there's no way to do this at present.
--
- Geoffrey Keating <geoffk@geoffk.org>
More information about the Gcc
mailing list