Archived

This forum has been archived. Please start a new discussion on GitHub.

vc 7.1 unreferenced formal parameter

xdm
xdm La Coruña, Spain
Hello

I trying to build and Ice dll in windows XP-sp2 Vc7.1 Ice-2.1.1

but I get a warning in a generated class
::IceInternal::DispatchStatus
Oz::Chat::ChatRoomAdmin::___destroy(::IceInternal::Incoming& __inS, const ::Ice::Current& __current)
{
    destroy(__current);
    return ::IceInternal::DispatchOK;
}



__inS unreferenced formal parameter

and this prevent the library to compile because Tread warnings as error is enable like in Ice demo proyects

any ideas of what is wrong?

thanks

Comments

  • benoit
    benoit Rennes, France
    The demo projects Warning level is set to 3. Is your project Warning level set to a higher value by any chance? You can check the warning level in the dialog Project Properties -> Configuration Properties -> C/C++ -> General.

    Benoit.
  • xdm
    xdm La Coruña, Spain
    Hello beniot

    thanks for your replay I found the problem is that I generate the proyects with qmake tool and they template added this specific warnig in .net templates, I remove de -w34100 from qmake template and all is working fine whit a simple .pro i generate proyect files for unix an win-xp :D

    thanks for your help