Compiling Qt 4.7.3 with Visual C++ - Warning level...



  • Hi!

    I'm compiling Qt 4.7.3 with Visual Studio 2010 with "configure -platform win32-msvc2010" and "nmake".

    While it's building i get many warnings like warning C4100 unreferenced formal parameter.

    I did a search on it and found that i should use warning level 3. Right?

    How do i set the warning level with nmake to 3?
    I know how to set in VS directly...but not for building with nmake.

    Thank you for your help.


  • Moderators

    The sheer amount of warnings is looking quite frightening the first time. However, as long as you have no solid error message you should be fine.



  • OK...but warnings say "better take a deeper look at the code". However...i'm not the first with this kind of problem.

    Thank you very much.


  • Moderators

    [quote author="jensen82" date="1309436011"]OK...but warnings say "better take a deeper look at the code".[/quote]
    I agree with this statement.

    [quote author="jensen82" date="1309436011"]However...i'm not the first with this kind of problem. [/quote]
    It shocked me too when I have encountered the first warnings at my first compilation trial. The good thing is that the command window has only a certain size. ;-)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.