You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Eric Lemings (JIRA)" <ji...@apache.org> on 2007/07/13 21:47:04 UTC
[jira] Commented: (STDCXX-404) [FreeBSD 6.2] error on in
locale utilities
[ https://issues.apache.org/jira/browse/STDCXX-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512594 ]
Eric Lemings commented on STDCXX-404:
-------------------------------------
The same error occurs when building STDCXX on Mac OS X 10.4.10 (Tiger) with GCC 4.2.
...
gcc runall.o cmdopt.o output.o util.o exec.o display.o -o exec -L/stdcxx/lib -lstd -lsupc++ -lgcc_eh -lm
gcc -c -I/stdcxx/include/ansi -D_RWSTDDEBUG -I/stdcxx/include -I/stdcxx/include -pedantic -nostdinc++ -g -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align /stdcxx/util/localedef.cpp
In file included from
/stdcxx/util/def.h:45,
from
/stdcxx/util/localedef.cpp:30:
/stdcxx/util/charmap.h:167: error: 'iconv_t' does not name a type
/stdcxx/util/charmap.h:230: error: 'iconv_t' does not name a type
/stdcxx/util/charmap.h:233: error: 'iconv_t' does not name a type
/stdcxx/util/localedef.cpp: In function 'bool process_command_line(ProgramOptions*, int, char**)':
/stdcxx/util/localedef.cpp:475: warning:
unused variable 'errors'
make[2]: *** [localedef.o] Error 1
make[1]: *** [util] Error 2
make: *** [libstd] Error 2
> [FreeBSD 6.2] error on <iconv.h> in locale utilities
> ----------------------------------------------------
>
> Key: STDCXX-404
> URL: https://issues.apache.org/jira/browse/STDCXX-404
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 4.2
> Environment: gcc 3.4.6/FreeBSD/x86
> Reporter: Martin Sebor
> Priority: Critical
> Fix For: 4.2
>
>
> The locale utilities locale and localedef fail to build on FreeBSD due to assumptions about the <iconv.h> header which apparently isn't provided on this platform:
> gcc -c -I$(TOPDIR)/include/ansi -D_RWSTDDEBUG -I$(TOPDIR)/include -I$(BUILDDIR)/include -pedantic -nostdinc++ -g -W -Wall -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align $(TOPDIR)/util/localedef.cpp
> In file included from $(TOPDIR)/util/def.h:45,
> from $(TOPDIR)/util/localedef.cpp:30:
> $(TOPDIR)/util/charmap.h:39:21: iconv.h: No such file or directory
> In file included from $(TOPDIR)/util/def.h:45,
> from $(TOPDIR)/util/localedef.cpp:30:
> $(TOPDIR)/util/charmap.h:165: error: `iconv_t' does not name a type
> $(TOPDIR)/util/charmap.h:165: error: extra semicolon
> $(TOPDIR)/util/charmap.h:228: error: `iconv_t' does not name a type
> $(TOPDIR)/util/charmap.h:228: error: extra semicolon
> $(TOPDIR)/util/charmap.h:231: error: `iconv_t' does not name a type
> $(TOPDIR)/util/charmap.h:231: error: extra semicolon
> $(TOPDIR)/util/localedef.cpp: In function `bool process_command_line(ProgramOptions*, int, char**)':
> $(TOPDIR)/util/localedef.cpp:475: warning: unused variable 'errors'
> gmake: *** [localedef.o] Error 1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.