You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2007/08/23 06:20:30 UTC

[jira] Updated: (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:all-tabpanel ]

Martin Sebor updated STDCXX-404:
--------------------------------

    Affects Version/s:     (was: 4.2)
                       trunk

4.2 hasn't been released yet, setting Affects Version(s) to "trunk."

> [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: trunk
>         Environment: gcc 3.4.6/FreeBSD/x86
> gcc 4.2/Mac OS X 10.4.10 (Tiger)
>            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.