Re: [AD] small MSVC documentation patch

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


aj wrote:
1. is  optimalization  a word ?

definitely is:
http://www.allwords.com/query.php?SearchType=0&Keyword=optimalization&goquery=Find+it%21&Language=ENG&NLD=1&FRA=1&DEU=1&ITA=1&ESP=1&v=31194216
but ok, as it looses by a big number in Google fight:
http://www.googlefight.com/cgi-bin/compare.pl?q1=optimalization&q2=optimization&B1=Make+a+fight%21&compare=1&langue=us
i'll change it

2.  maybe it should say  ... "make the compilation process slower. "
as it currently sounds like it might be making a slower object file.

no problem

--
Regards,
    Michal
--- msvc.old._tx	Thu Feb  3 19:46:55 2005
+++ msvc._tx	Fri Feb  4 22:10:28 2005
@@ -133,9 +133,9 @@
    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"
-   which will enable better optimalization. However it can make the compilation
-   slower especially for the statically linked version.
+   If you are using MSVC 7 or higher you can specify "<tt>msvc7</tt>" instead of "<tt>msvc</tt>"
+   which will enable better optimization. However it can make the compilation
+   process slower especially for the statically linked version.
 
    If you are compiling from CVS, before continuing you must run both
    "<tt>make depend</tt>" and "<tt>misc/fixdll.sh</tt>" as explained below, or the build will
@@ -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/