Re: [Alephmodular-devel] 0.3 progress update ... warning count down
Status: Pre-Alpha
Brought to you by:
brefin
From: Michael A. <mdm...@ya...> - 2003-01-02 19:04:52
|
--- Br'fin <br...@ma...> wrote: > I've been working to reduce the number of warnings > generated during the > compilation of AlephModular. I managed to work the > count down from > about 603 or so at its worst (about 80 of which were > my fault) to 13 > known warnings. Most of which are my #warnings with > a handful of others > being issues I know about. > > -Jeremy > Oh goody goody! I imagine it took quite a bit of work to do that, but having warning free code is always nice. While your working in this area you may want to keep in mind a few brain dead compilers in this world that don't know about #warning. I'll give you a hint: It's the compiler that most Windows people use. Yep, that's right Microsoft's Visual C++ couldn't even get the preprocessor right (A1 only uses #warning in the Mac code not SDL). I don't know how you want to handle this. I see two options. Either, change the #warning's to #error's, which MSVC does understand, or put #ifdef around the #warning's. This wont become a major issue until we are actually trying to get it to work under Windows, but it's something to keep in mind and plan for. Again kudos on the warning elimination, Michael D. Adams mdm...@ya... __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |