[AD] small MSVC documentation patch

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


%subj%

--
Regards,
    Michal
--- msvc.old._tx	Thu Feb  3 19:46:55 2005
+++ msvc._tx	Fri Feb  4 17:04:45 2005
@@ -133,7 +133,7 @@
    using MinGW and want the <tt>fix.bat</tt> to solve problems with long paths,
    type "<tt>fix.bat msvc --msvcpaths</tt>".
    
-   If you are using MSVC 7 or higher you can specify "msvc7" instead of "msvc"
+   If you are using MSVC 7 or higher you can specify "<tt>msvc7</tt>" instead of "<tt>msvc</tt>"
    which will enable better optimalization. However it can make the compilation
    slower especially for the statically linked version.
 
@@ -199,6 +199,16 @@
    version if you are using the debug library). You can change this option
    at Project - Settings - C/C++ - Category: Code Generation - Use run-time
    library.
+
+   If you are under MSVC 7 or higher getting several C4312 warnings on Allegro
+   headers, turn in the project configuration dialog - C/C++ - General
+   option 'Detect 64-bit Portability Issues' to 'No'.
+   
+   If you have used "<tt>msvc7</tt>" parameter for <tt>fix.bat</tt> and you are
+   using the statically linked version of Allegro and you don't want
+   to get "<tt>warning LNK4218: non-native module found; restarting link with /LTCG</tt>"
+   message, turn on Whole Program Optimalization on the General panel of configuration
+   dialog.
 
    Don't forget that you need to use the <code>END_OF_MAIN()</code> macro right after
    your <code>main()</code> function!


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/