#pragma once

Started by
12 comments, last by Jan Wassenberg 19 years, 3 months ago
Unknown pragmas are supposed to be ignored by the compiler -- they should never generate an error. So it's not terribly necessary to check that your compiler supports them, but try not to rely on them.
SlimDX | Ventspace Blog | Twitter | Diverse teams make better games. I am currently hiring capable C++ engine developers in Baltimore, MD.
Advertisement
Tarviathun: sure, no one means ill. If you looked, all is well :)

Zipster: IIRC C99 says undefined macros in #if evaluate to 0, but ICC warns you about it. It's a little bit safer to write #if defined(x) && x > 1200.
E8 17 00 42 CE DC D2 DC E4 EA C4 40 CA DA C2 D8 CC 40 CA D0 E8 40E0 CA CA 96 5B B0 16 50 D7 D4 02 B2 02 86 E2 CD 21 58 48 79 F2 C3
Of all the things to worry about, I'd put that at the bottom of the list [smile]
But fine, you win you sexy man you. Finally I get to use "Replace in Files".
:)
E8 17 00 42 CE DC D2 DC E4 EA C4 40 CA DA C2 D8 CC 40 CA D0 E8 40E0 CA CA 96 5B B0 16 50 D7 D4 02 B2 02 86 E2 CD 21 58 48 79 F2 C3

This topic is closed to new replies.

Advertisement