CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 1999
    Location
    MS/India
    Posts
    132

    -multiple compiler option

    Hi
    I have a huge project and I am trying to port it from pSos to new operating system called Integrity. While porting I am getting a very funny error. The Integrity C++ compiler complains about lot of multiple definitions.

    When I tried to search and debug I found that when I am cimpiling a single .cpp file, another .cpp file is getting compiled automatically along with it. The second .cpp file is nowhere included in the first one. Does anybody have any idea why compiler tries to compile another .cpp file when we ask it to compile one in a project?????

    Right now for time being I am getting rid of this problem by giving compiler optoin -multiple.

    Please helppppppppppppppppppppp

    Thanks in advance

  2. #2
    Join Date
    Dec 2003
    Posts
    60

    Re: -multiple compiler option

    I have used Integrity for about a year now. I have seen lots of problems with the Multi tools for Integrity. Stay away from it if you can. Maybe their support staff will be of assistance...

    Anyway, you can see what the build file really is stating (rather than what it displays in the GUI) by hitting control-e while you have it selected. You may find some obscure stuff in there that isn't necessary. You may want to make sure that you've correctly selected if it's a C or C++ file in the build options and make sure that you aren't actually including a ".cpp" file instead of an h file, because I believe it will try to compile the included .cpp. Weird stuff.

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