Results 1 to 3 of 3

Thread: vc 7.1 unreferenced formal parameter

  1. #1
    xdm's Avatar
    xdm
    xdm is offline ZeroC Staff
    Name: Jose Gutierrez de la Concha
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Sep 2003
    Location
    La Coruņa, Spain
    Posts
    588

    vc 7.1 unreferenced formal parameter

    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
    Code:
    ::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

  2. #2
    benoit's Avatar
    benoit is online now ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    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.

  3. #3
    xdm's Avatar
    xdm
    xdm is offline ZeroC Staff
    Name: Jose Gutierrez de la Concha
    Organization: ZeroC, Inc.
    Project: Ice Developer
    Join Date
    Sep 2003
    Location
    La Coruņa, Spain
    Posts
    588
    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

    thanks for your help

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VC++ 6.0 with Ice-3.4.0
    By Yos in forum Help Center
    Replies: 1
    Last Post: 04-12-2010, 05:55 PM
  2. vc 6 link error
    By mwilson in forum Help Center
    Replies: 5
    Last Post: 02-13-2007, 07:15 PM
  3. Vc++ 8.0
    By thelONE in forum Bug Reports
    Replies: 7
    Last Post: 11-21-2005, 06:35 PM
  4. How to use Ice with vc.net
    By W.noon in forum Help Center
    Replies: 1
    Last Post: 10-27-2004, 08:43 AM
  5. Compiling ICE with VC 6.0
    By jpm in forum Help Center
    Replies: 2
    Last Post: 05-30-2003, 05:51 PM

Posting Permissions

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