Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / February 2007

Tip: Looking for answers? Try searching our database.

CLI/C++ linking with Native C++ lib generates warning LNK4075

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dev - 08 Feb 2007 03:01 GMT
I have a CLI/C++ library that links with a Native C++ library. Everything
works and runs fine. However I get the following warning.

warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO'
specification

When I look at the CLI/C++ Lib link command line it has /INCREMENTAL so I am
not sure what it is refering to.

-Zach
Bruno van Dooren [MVP VC++] - 08 Feb 2007 07:39 GMT
> I have a CLI/C++ library that links with a Native C++ library. Everything
> works and runs fine. However I get the following warning.
[quoted text clipped - 4 lines]
> When I look at the CLI/C++ Lib link command line it has /INCREMENTAL so I am
> not sure what it is refering to.

/INCREMENTAL comes with a lot of limitations as to when you can use it and
when not. Have you checked that you don't have a conflict there?
Also: how was the native lib built? with or without incremental?

Signature

Kind regards,
   Bruno.
   bruno_nos_pam_van_dooren@hotmail.com
   Remove only "_nos_pam"

Dev - 14 Feb 2007 00:25 GMT
Thanks for the quick response.

The native library is static so it has no linking (and therefore no option
for incremental). The weird thing for me is that the warning says I am
getting it due to /INCREMENTAL:NO, but when I look in the settings I have

Enable Incremental Linking: Yes (/INCREMENTAL)

> > I have a CLI/C++ library that links with a Native C++ library. Everything
> > works and runs fine. However I get the following warning.
[quoted text clipped - 8 lines]
> when not. Have you checked that you don't have a conflict there?
> Also: how was the native lib built? with or without incremental?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.