#pragma once
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.
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.
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.
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".
But fine, you win you sexy man you. Finally I get to use "Replace in Files".
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement