You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Lance Diduck (JIRA)" <ji...@apache.org> on 2005/09/22 22:00:29 UTC

[jira] Commented: (STDCXX-40) [Cygwin] util does not compile clean and fails to link

    [ http://issues.apache.org/jira/browse/STDCXX-40?page=comments#action_12330224 ] 

Lance Diduck commented on STDCXX-40:
------------------------------------

Adding -liconv to LDLIBS in makefile.in allows it to link

> [Cygwin] util does not compile clean and fails to link
> ------------------------------------------------------
>
>          Key: STDCXX-40
>          URL: http://issues.apache.org/jira/browse/STDCXX-40
>      Project: STDCXX
>         Type: Bug
>     Versions: 4.1.3
>  Environment: 11s build cygwin gcc 3.4.
>     Reporter: Lance Diduck

>
> gcc -c -I/cygdrive/c/temp/stdcxx2/include/ansi -D_RWSTDDEBUG    -D_RWSTD_USE_CONFIG -I/cygdrive/c/temp/stdcxx2/11sgcc2/include -I/cygdrive/c/temp/stdcxx2/include -I/cygdrive/c/temp/stdcxx2/include/loc  -pedantic -nostdinc++ -g  -Wall -W -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align  /cygdrive/c/temp/stdcxx2/util/localedef.cpp
> /cygdrive/c/temp/stdcxx2/util/localedef.cpp: In function `bool process_command_l
> ine(ProgramOptions*, int, char**)':
> /cygdrive/c/temp/stdcxx2/util/localedef.cpp:467: warning: unused variable 'errors'
> gcc localedef.o aliases.o charmap.o codecvt.o collate.o ctype.o def.o diagnostic.o messages.o monetary.o numeric.o path.o time.o scanner.o -o localedef  -L/cygdrive/c/temp/stdcxx2/11sgcc2/lib -lstd11s  -lsupc++ -lm 
> charmap.o: In function `_ZNSt4pairIKwSsEC1ERKS1_':
> /cygdrive/c/temp/stdcxx2/include/rw/_specialized.h:(.text+0x4c0): undefined reference to `_libiconv_open'
> charmap.o: In function `_ZNK7Charmap15convert_to_utf8EPKcjPcj':
> /cygdrive/c/temp/stdcxx2/util/charmap.cpp:346: undefined reference to `_libiconv
> '
> gcc -c -I/cygdrive/c/temp/stdcxx2/include/ansi -D_RWSTDDEBUG    -D_RWSTD_USE_CONFIG -I/cygdrive/c/temp/stdcxx2/11sgcc2/include -I/cygdrive/c/temp/stdcxx2/include -I/cygdrive/c/temp/stdcxx2/include/loc  -pedantic -nostdinc++ -g  -Wall -W -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align  /cygdrive/c/temp/stdcxx2/util/charmap.cpp
> /cygdrive/c/temp/stdcxx2/util/charmap.cpp: In member function `wchar_t Charmap::increment_val(wchar_t) const':
> /cygdrive/c/temp/stdcxx2/util/charmap.cpp:422: warning: converting of negative value `-0x000000001' to `wchar_t'
> /cygdrive/c/temp/stdcxx2/util/charmap.cpp: In member function `wchar_t Charmap::convert_sym_to_ucs(const std::string&) const':
> /cygdrive/c/temp/stdcxx2/util/charmap.cpp:497: warning: comparison between signed and unsigned integer expressions
> gcc -c -I/cygdrive/c/temp/stdcxx2/include/ansi -D_RWSTDDEBUG    -D_RWSTD_USE_CONFIG -I/cygdrive/c/temp/stdcxx2/11sgcc2/include -I/cygdrive/c/temp/stdcxx2/include -I/cygdrive/c/temp/stdcxx2/include/loc  -pedantic -nostdinc++ -g  -Wall -W -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align  /cygdriv
> e/c/temp/stdcxx2/util/ctype.cpp
> /cygdrive/c/temp/stdcxx2/util/ctype.cpp: In function `wchar_t convert_literal_to_ucs4(Scanner::token_t&)':
> /cygdrive/c/temp/stdcxx2/util/ctype.cpp:47: warning: comparison between signed and unsigned integer expressions

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira