[eq-dev] New pragmas? clang diagnostic

13 views
Skip to first unread message

Robert Hauck

unread,
May 6, 2013, 6:38:34 AM5/6/13
to eq-...@equalizergraphics.com
Hi

Is there a new pragma introduced?
# pragma clang diagnostic push

VS2012 complains that it is unknown. I haven't found anything in the
programming guide or this forum. Is there a define needed or anything else?

Cheers,
Robert



--
View this message in context: http://software.1713.n2.nabble.com/New-pragmas-clang-diagnostic-tp7583145.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.

_______________________________________________
eq-dev mailing list
eq-...@equalizergraphics.com
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Stefan Eilemann

unread,
May 7, 2013, 7:05:49 AM5/7/13
to eq-...@equalizergraphics.com
Hi,

On 6. May 2013, at 12:38, "Robert Hauck [via Software]" <ml-node+s171...@n2.nabble.com> wrote:

> Is there a new pragma introduced?
> # pragma clang diagnostic push
>
> VS2012 complains that it is unknown.

It's a pragma for the clang compiler. VS should just ignore it, as with the #pragma gcc. If not, please wrap it #ifdef MSVC.


CHeers,

Stefan.





--
View this message in context: http://software.1713.n2.nabble.com/New-pragmas-clang-diagnostic-tp7583145p7583152.html

Robert Hauck

unread,
May 7, 2013, 10:17:55 AM5/7/13
to eq-...@equalizergraphics.com
Hi Stefan

Yes, VS ignores them, it's only a warning. I added the ignore flag to the
compiler flags.

Thanks,
Robert



--
View this message in context: http://software.1713.n2.nabble.com/New-pragmas-clang-diagnostic-tp7583145p7583157.html
Reply all
Reply to author
Forward
0 new messages