Issue Details (XML | Word | Printable)

Key: STDCXX-404
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Martin Sebor
Reporter: Martin Sebor
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
C++ Standard Library

[FreeBSD 6.2] error on <iconv.h> in locale utilities

Created: 08/May/07 02:03 AM   Updated: 24/Sep/07 11:56 PM
Return to search
Component/s: Utilities
Affects Version/s: None
Fix Version/s: 4.2.0

Time Tracking:
Not Specified

Environment:
gcc 3.4.6/FreeBSD/x86
gcc 4.2/Mac OS X 10.4.10 (Tiger)
Issue Links:
Incorporates
 
Reference
 

Severity: Compiler Error
Resolution Date: 24/Sep/07 11:56 PM


 Description  « Hide
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



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Martin Sebor made changes - 22/May/07 01:44 AM
Field Original Value New Value
Link This issue is related to STDCXX-40 [ STDCXX-40 ]
Martin Sebor made changes - 29/May/07 11:42 PM
Link This issue is part of STDCXX-117 [ STDCXX-117 ]
Eric Lemings made changes - 13/Jul/07 07:46 PM
Environment gcc 3.4.6/FreeBSD/x86 gcc 3.4.6/FreeBSD/x86
gcc 4.2/Mac OS X 10.4.10 (Tiger)
Martin Sebor made changes - 23/Aug/07 04:19 AM
Affects Version/s trunk [ 12312676 ]
Affects Version/s 4.2 [ 12311945 ]
Martin Sebor made changes - 24/Sep/07 11:39 PM
Assignee Martin Sebor [ sebor ]
Martin Sebor made changes - 24/Sep/07 11:56 PM
Severity Compiler Error
Martin Sebor made changes - 24/Sep/07 11:56 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]