Results 1 to 7 of 7

Thread: /YX stdafx.h and /clr command-line options incompatible

  1. #1
    rano Guest

    /YX stdafx.h and /clr command-line options incompatible

    Use ICE in "c++ .net" projection enviroment,when compling will genrate this error,why?

  2. #2
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    Could you please set your signature? Please check this this thread for information on our support policy.

    Cheers,
    Benoit.

  3. #3
    rano Guest

    /YX stdafx.h and /clr command-line options incompatible

    Use ICE in "c++ .net" projection enviroment,when compling will genrate this error,why?

  4. #4
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    Does the compiler error shows up while compiling the Ice source distribution or some demos from the Ice installers?

    In any case, see this MSDN page for the reason of this error, these 2 options aren't compatible. Well, just like the error says .

    Benoit.

  5. #5
    rano Guest

    I just want to use ice in a c++.net project.

    I just want to use ice in a c++.net project. Project use the /clr compiler options. To use ice, I also use the /XY compiler options. When compiling the project, c++.net gives the error that /XY is not supported by /clr. Pleas Help me, thank you very much.

  6. #6
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Sorry, I don't understand why you need to use /YX with Ice. Why do you think you have to use it with Ice?

    Cheers,
    Benoit.

  7. #7
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Ice does not support managed C++ or the new C++/CLI (in .NET 2.0). Maybe you could use regular (aka unmanaged) C++, or C#?

    If you'd like to sponsor support for C++/CLI (with Visual Studio 2005), please contact us at info.zeroc.com.

    Best regards,
    Bernard
    Bernard Normier
    ZeroC, Inc.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Setting Properties on the command line
    By Ewgenijkkg in forum Help Center
    Replies: 2
    Last Post: 04-19-2007, 04:49 PM
  2. node command in the icegridadmin command line utility
    By davidcr1983 in forum Bug Reports
    Replies: 1
    Last Post: 03-19-2007, 09:21 AM
  3. Can I set default protocol in command line ?
    By gigaboy in forum Bug Reports
    Replies: 2
    Last Post: 06-20-2005, 01:50 AM
  4. about command line
    By AaronIct in forum Help Center
    Replies: 4
    Last Post: 04-07-2005, 10:34 PM
  5. Help! slice2cpp fail in win2000 command-line
    By lanbo in forum Help Center
    Replies: 2
    Last Post: 01-01-2005, 10:06 AM

Posting Permissions

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