Skip to main content
GameDev.net gamedev.net
🔒 Locked

Pragma

Started by SKSlayer Sep 10, 2000 at 2:22 PM 2 replies 700+ views
Original Post
SKSlayer
SKSlayer
How to use #Pragma
(you can find me on IRC : #opengl on undernet)
Zerosignull
Zerosignull
#pragma optimize( "atp", on )

carnt remember what the optimization setting do but i tthink its for floating point optimizations. i think that when u genertae a release exe that some pragma settings are inserted by default
SKSlayer
SKSlayer
Hey, good to see you again :o)

But I mean, to disable warnings message, like if you convert different types, you get a warning, cant you get em off with pragma ?
(you can find me on IRC : #opengl on undernet)
sebastian
sebastian
like this:

#pragma warning (disable:4009)

you can look up in the compiler SDK under C4009 in this example
--->Back to coding!<---

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.