Nadav Har'El
Tue, 25 Sep 2007 02:31:09 -0700
On Tue, Sep 25, 2007, Oleg Goldshmidt wrote about "Re: With and Without gcc OMP": > Yes. Being a preprocessor directive, #pragma cannot be produced as a > result of a macro expanion. To handle that, C99 introduces the _Pragma > operator, cf. http://tigcc.ticalc.org/doc/cpp.html#SEC46. Why is #pragma a "preprocessor directive"? The fact that it starts with "#" doesn't make it a preprocessor directive, and a good example is "#line" which in used by the C compiler, not preprocessor (in fact, the preprocessor generates lines like this). All this sounds very strange to me, even though it indeed appears that the link you gave agreed with what you said. Anyway, Orna, can you perhaps use this _Pragma operator that Oleg points to? (I don't know if your compiler has this feature or not, but it's worth trying, I guess). -- Nadav Har'El | Tuesday, Sep 25 2007, 13 Tishri 5768 [EMAIL PROTECTED] |----------------------------------------- Phone +972-523-790466, ICQ 13349191 |Does replacing myself with a shell-script http://nadav.harel.org.il |make me impressive or insignificant? ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]