[C++] Enums

Started by
10 comments, last by phresnel 14 years, 2 months ago
Quote:Original post by EyeSize
Some enums need to be packed because they are send over the internet.


Or you could just cast to the necessary type as part of your serialization process...
Advertisement
Quote:Original post by ozak
You are in for a lot of fun. GCC 4 is extremely ansi nazi,


Nitpicks:
* C++ = ISO/IEC, not ANSI
* I wouldn't call it Nazi when a compiler encourages correct programming by default


Quote:but there are switches to turn some of the checks off :)

You shouldn't if not justified. That smiley would make me nervous if you were in my team ;)

This topic is closed to new replies.

Advertisement