CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Guest

    compile warning?

    Hi,

    Can anyone explain this warning message which puzzels me so long.
    //************************************************************
    Compiling...
    Command line warning D4002 : ignoring unknown option '/ZI'
    Command line warning D4002 : ignoring unknown option '/GZ'
    //*************************************************************

    thanks for any explanation,

    allison


  2. #2
    Guest

    Re: compile warning?

    It looks to me like a case issue. In VC++ the commandline is case sensitive
    The switch /Zi means include debugging info. The other, /Gz, means use
    standard calling convention.
    If you are working in the IDE you can fix this by going to Project
    and select settings... click on the C/C++ tab and make sure Category
    is set to General. At the bottom of the dialog is commandline options.
    Change /ZI to /Zi and /GZ to /Gz and click OK. Your done.

    reply to: [email protected]




  3. #3
    Guest

    Re: compile warning?

    What your building could be comming from VC6.0. A Project that was compiled by VC6.0 and then recompiled with 5.0 would give this warning, go to your project settings and remove the options.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured