------- Comment #12 from pinskia at gcc dot gnu dot org 2006-05-25 16:44
-------
(In reply to comment #10)
> #define parallel _Pragma("omp parallel")
> int
> main()
> {
> #pragma omp parallel
> {}
> }
This is not invalid according to:
http://gcc.gnu.org/onlinedocs/cpp/Implementation_002ddefined-behavior.html
Which says the following (unless that is not up to date also):
Treatment of a `#pragma' directive that after macro-expansion results in a
standard pragma.
No macro expansion occurs on any `#pragma' directive line, so the question does
not arise.
Note that GCC does not yet implement any of the standard pragmas.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27746