[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Library "libcvs" Windows Link Warnings Report
From: |
Conrad T. Pino |
Subject: |
Library "libcvs" Windows Link Warnings Report |
Date: |
Sat, 17 Apr 2004 13:16:48 -0700 |
Hi All,
> From: Conrad T. Pino [mailto:Conrad@Pino.com]
> Sent: Saturday, April 17, 2004 10:35
> Subject: RE: Patch: Visual C++ Library Project Renames - libcvs & libz
>
> I've saw this and other similar warnings in linking but assumed
> their presence was well known.
>
> I'll assemble a link warnings report and publish as new thread to
> "Bug-CVS" for comment and recommendations very shortly.
====================
The Visual C++ 6.0 (VC6) Integrated Development Environment (IDE) Debug
build of this library generates a multitude of "LNK4006" linker warnings.
The full warning list follows at the end of this message.
"LNK4006" warnings occur for *every* source (.c) file in this project.
This is consistent with each input (.obj) file being listed twice in
the linker's input file list. There is no redundancy in .dsp file.
Even more interesting is "LNK4006" warnings do NOT occur in the batch
build using .dep/.mak files generated from .dsp file.
IMO these "LNK4006" warnings are a *feature* of VC6 IDE only.
I suggest using batch mode builds for delivery of "cvs.exe" to the
CVS user community since it's the cleaner build.
While the IDE build is *dirty* when compared to the batch build there
is no evidence I've seen so far that this difference is significant.
IMO no action is required on .dsp/.dep/.mak files of this project.
====================
Best regards,
Conrad Pino
--------------------Configuration: libdiff - Win32 Debug--------------------
Compiling...
[snip]
Creating library...
libcvs.lib(exitfail.obj) : warning LNK4006: _exit_failure already defined in
libcvs.lib(exitfail.obj); second definition ignored
libcvs.lib(getdate.obj) : warning LNK4006: _get_date already defined in
libcvs.lib(getdate.obj); second definition ignored
libcvs.lib(getdate.obj) : warning LNK4006: _yycheck already defined in
libcvs.lib(getdate.obj); second definition ignored
libcvs.lib(getdate.obj) : warning LNK4006: _yytable already defined in
libcvs.lib(getdate.obj); second definition ignored
libcvs.lib(getdate.obj) : warning LNK4006: _yygindex already defined in
libcvs.lib(getdate.obj); second definition ignored
libcvs.lib(getdate.obj) : warning LNK4006: _yyrindex already defined in
libcvs.lib(getdate.obj); second definition ignored
libcvs.lib(getdate.obj) : warning LNK4006: _yysindex already defined in
libcvs.lib(getdate.obj); second definition ignored
libcvs.lib(getdate.obj) : warning LNK4006: _yydgoto already defined in
libcvs.lib(getdate.obj); second definition ignored
libcvs.lib(getdate.obj) : warning LNK4006: _yydefred already defined in
libcvs.lib(getdate.obj); second definition ignored
libcvs.lib(getdate.obj) : warning LNK4006: _yylen already defined in
libcvs.lib(getdate.obj); second definition ignored
libcvs.lib(getdate.obj) : warning LNK4006: _yylhs already defined in
libcvs.lib(getdate.obj); second definition ignored
libcvs.lib(getline.obj) : warning LNK4006: _getline already defined in
libcvs.lib(getline.obj); second definition ignored
libcvs.lib(getline.obj) : warning LNK4006: _getdelim already defined in
libcvs.lib(getline.obj); second definition ignored
libcvs.lib(getndelim2.obj) : warning LNK4006: _getndelim2 already defined in
libcvs.lib(getndelim2.obj); second definition ignored
libcvs.lib(getopt.obj) : warning LNK4006: __getopt_internal already defined in
libcvs.lib(getopt.obj); second definition ignored
libcvs.lib(getopt.obj) : warning LNK4006: _getopt already defined in
libcvs.lib(getopt.obj); second definition ignored
libcvs.lib(getopt.obj) : warning LNK4006: _optopt already defined in
libcvs.lib(getopt.obj); second definition ignored
libcvs.lib(getopt.obj) : warning LNK4006: _opterr already defined in
libcvs.lib(getopt.obj); second definition ignored
libcvs.lib(getopt.obj) : warning LNK4006: _optind already defined in
libcvs.lib(getopt.obj); second definition ignored
libcvs.lib(getopt1.obj) : warning LNK4006: _getopt_long already defined in
libcvs.lib(getopt1.obj); second definition ignored
libcvs.lib(getopt1.obj) : warning LNK4006: _getopt_long_only already defined in
libcvs.lib(getopt1.obj); second definition ignored
libcvs.lib(printf-args.obj) : warning LNK4006: _printf_fetchargs already
defined in libcvs.lib(printf-args.obj); second definition
ignored
libcvs.lib(printf-parse.obj) : warning LNK4006: _printf_parse already defined
in libcvs.lib(printf-parse.obj); second definition
ignored
libcvs.lib(realloc.obj) : warning LNK4006: _rpl_realloc already defined in
libcvs.lib(realloc.obj); second definition ignored
libcvs.lib(regex.obj) : warning LNK4006: _re_set_syntax already defined in
libcvs.lib(regex.obj); second definition ignored
libcvs.lib(regex.obj) : warning LNK4006: _re_compile_fastmap already defined in
libcvs.lib(regex.obj); second definition ignored
libcvs.lib(regex.obj) : warning LNK4006: _re_set_registers already defined in
libcvs.lib(regex.obj); second definition ignored
libcvs.lib(regex.obj) : warning LNK4006: _re_search already defined in
libcvs.lib(regex.obj); second definition ignored
libcvs.lib(regex.obj) : warning LNK4006: _re_search_2 already defined in
libcvs.lib(regex.obj); second definition ignored
libcvs.lib(regex.obj) : warning LNK4006: _re_match already defined in
libcvs.lib(regex.obj); second definition ignored
libcvs.lib(regex.obj) : warning LNK4006: _re_match_2 already defined in
libcvs.lib(regex.obj); second definition ignored
libcvs.lib(regex.obj) : warning LNK4006: _re_compile_pattern already defined in
libcvs.lib(regex.obj); second definition ignored
libcvs.lib(regex.obj) : warning LNK4006: _re_comp already defined in
libcvs.lib(regex.obj); second definition ignored
libcvs.lib(regex.obj) : warning LNK4006: _re_exec already defined in
libcvs.lib(regex.obj); second definition ignored
libcvs.lib(regex.obj) : warning LNK4006: _regcomp already defined in
libcvs.lib(regex.obj); second definition ignored
libcvs.lib(regex.obj) : warning LNK4006: _regexec already defined in
libcvs.lib(regex.obj); second definition ignored
libcvs.lib(regex.obj) : warning LNK4006: _regerror already defined in
libcvs.lib(regex.obj); second definition ignored
libcvs.lib(regex.obj) : warning LNK4006: _regfree already defined in
libcvs.lib(regex.obj); second definition ignored
libcvs.lib(regex.obj) : warning LNK4006: _re_max_failures already defined in
libcvs.lib(regex.obj); second definition ignored
- Library "libcvs" Windows Link Warnings Report,
Conrad T. Pino <=