473,396 Members | 1,683 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,396 software developers and data experts.

MSVC 6.0 -- LNK1179(duplicate comdat) problem

Hi all,

I have some complicated template code, which results in long symbol
names. At some point I started getting LNK1179 error. The decorated
name shown in this message contains exactly 256 characters.

From what I understand from MSVC documentation, the name limit is
2047, not 256 characters (although the number 256 surely attracts
one's attention). If I start playng with /H compiler option, the
other duplicate names popup (with the appropriate length, equal to one
given in /H option). As soon as I set the limit large enough, the
original one shows up with exactly 256 characters.

So, I assume this is more complicated than just truncating names due
to the size limit. If anybody could shed any light on this issue, I
would greatly appreciate this.

Thanks in advance,

Arkadiy
Jul 19 '05 #1
1 3742
"Arkadiy Vertleyb" <ve******@hotmail.com> wrote...
I have some complicated template code, which results in long symbol
names. At some point I started getting LNK1179 error. The decorated
name shown in this message contains exactly 256 characters.

From what I understand from MSVC documentation, the name limit is
2047, not 256 characters (although the number 256 surely attracts
one's attention). If I start playng with /H compiler option, the
other duplicate names popup (with the appropriate length, equal to one
given in /H option). As soon as I set the limit large enough, the
original one shows up with exactly 256 characters.

So, I assume this is more complicated than just truncating names due
to the size limit. If anybody could shed any light on this issue, I
would greatly appreciate this.


Compiler options and implementation-specific properties are
OT here. Try microsoft.public.vc.language newsgroup. If your
newsserver doesn't support it, connect to msnews.microsoft.com

Victor
Jul 19 '05 #2

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

Similar topics

2
by: AIM | last post by:
Error in msvc in building inheritance.obj to build hello.pyd Hello, I am trying to build the boost 1.31.0 sample extension hello.cpp. I can not compile the file inheritance.cpp because the two...
4
by: user | last post by:
I am trying to port a simple vector/matrix class library to mingw (v3.4.2). I have used this library with no problem on MSVC++ v6 for a number of years. My difficulty is that it does not compile...
7
by: Hendrik Schober | last post by:
Hi, I am getting LNK1179: invalid or corrupt file: duplicate COMDAT '<mangled name' The file compiles fine. What can I do? Schobi -- SpamTrap@gmx.de is never read
8
by: Chris Stankevitz | last post by:
I can't tell you how frusterated I and my coworkers are with "MSVC 7.1 .net 2003" (what am I supposed to call this thing anyway?). Compiling and linking take twice as long with "MSVC 7.1 .net...
23
by: Babak | last post by:
Hi Everyone, I've written a standard C code for a simple finite element analysis in MSVC++ . When I save the file as a cpp file, it compiles and runs perfectly, but when I save it as a c file,...
2
by: A n g l e r | last post by:
Hi all. I'm having a truly bugging me problem going on here. When I get to Tools->Options->VC++ Directories and try to set up paths for x64, it turns out that it's listed in a drop-box twice!...
2
by: BruceWho | last post by:
I downloaded boost1.35.0 and built it with following command: bjam --toolset=msvc-7.1 --variant=release --threading=multi -- link=shared --with-system stage and it failed to compile, error...
3
by: imaloner | last post by:
I am posting two threads because I have two different problems, but both have the same background information. Common Background Information: I am trying to rebuild code for a working,...
4
by: imaloner | last post by:
I am posting two threads because I have two different problems, but both have the same background information. Common Background Information: I am trying to rebuild code for a working,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.