Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

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

    General and Desktop
    2
    4
    3692
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jensen82
      jensen82 last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • K
        koahnig last edited by

        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.

        Vote the answer(s) that helped you to solve your issue(s)

        1 Reply Last reply Reply Quote 0
        • jensen82
          jensen82 last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • K
            koahnig last edited by

            [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. ;-)

            Vote the answer(s) that helped you to solve your issue(s)

            1 Reply Last reply Reply Quote 0
            • First post
              Last post