473,386 Members | 1,790 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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

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


Feb 8 '07 #1
2 4288
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.
/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?

--
Kind regards,
Bruno.
br**********************@hotmail.com
Remove only "_nos_pam"
>
Feb 8 '07 #2
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)
"Bruno van Dooren [MVP VC++]" wrote:
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.

/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?

--
Kind regards,
Bruno.
br**********************@hotmail.com
Remove only "_nos_pam"


Feb 14 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Wolfgang | last post by:
I have a problem with linking my CPP Code under a irix6 machine (sgi, UNIX). In my CPP code I use some Functions which are written in Python. So its a kind of CPP wrapper for my Python functions In...
1
by: yanwan | last post by:
Hello I met some problems in linking a project, and hope someone can give me some advice. -----------Configuration: lighting - Win32 Release-------------------- Linking... LINK : warning...
1
by: Kay | last post by:
I already specified to ignore specific library: MSVCPRT.lib MSVCRT.lib LIBC.lib MSVCRTD.lib LIBCD.lib command line is like: /INCREMENTAL /NOLOGO /DLL /NODEFAULTLIB:"MSVCPRT.lib MSVCRT.lib LIBC.lib...
2
by: Dave Burns | last post by:
I have the following situation: There are two dlls in question: a c++ dll (native) and a c++/cli dll (managed) with /clr option enabled. Managed dll links with native dll. Native dll...
1
by: Ian | last post by:
I've just discovered the msclr::lock class in the C++ Support Library online documentation. This seems like a much cleaner way to implement thread protection than using...
4
by: Ram Shriram | last post by:
My C++ project takes 45-60 minutes for linking, with link.exe taking up 100% of the CPU. I am using: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft Visual C++...
3
by: Bob Palank | last post by:
This is an issue for someone much wiser than I - perhaps a MVP will help? I color coded the following for readability. Running XP Pro and VC++.Net Express 2008 and vtk visualization software In...
2
by: Fresh | last post by:
Hi, I met a problem, when I change warning level to 4 and to track warning as error, then a link warning show "warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF' specification" I...
11
by: =?Utf-8?B?aWduaGVucnk=?= | last post by:
I have a managed C++ project and two C# projects. All are class library projects. The C++ project links with native C++ static libraries and references to one C# project. The projects structure...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.