Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#754 closed bug (fixed)

[glibc] gcc4 fails on wscoll.c

Reported by: danny@… Owned by: bonefish
Priority: normal Milestone: R1
Component: - General Version:
Keywords: Cc: diver
Blocked By: Blocking:
Platform: All

Description

Compiling from Linux using GCC4 and hrev18540 the build fails on wscoll.c with invalid storage class on findidx. As this forms part of libroot (Which libbe depends on) very little is able to be built following this.

(Relevant) Compile log follows:

Cc generated/objects/haiku/x86/release/system/libroot/posix/glibc/wcsmbs/wcscoll.o In file included from src/system/libroot/posix/glibc/wcsmbs/../string/strcoll.c:101,

from src/system/libroot/posix/glibc/wcsmbs/wcscoll.c:37:

src/system/libroot/posix/glibc/wcsmbs/../string/../locale/weightwc.h: In function 'wcscoll': src/system/libroot/posix/glibc/wcsmbs/../string/../locale/weightwc.h:23: error: invalid storage class for function 'findidx' src/system/libroot/posix/glibc/wcsmbs/../string/../locale/weightwc.h:23: warning: no previous prototype for 'findidx'

Change History (7)

comment:1 by diver, 18 years ago

Cc: diver added

comment:2 by axeld, 18 years ago

Owner: changed from axeld to bonefish

comment:3 by danny@…, 18 years ago

Commit for glibc at http://sources.redhat.com/ml/glibc-cvs/2004-q3/msg01071.html appears to solve the problem, changing findidx functions from static to auto. Tested quickly here against GCC4 and works, but no idea how it will affect other versions.

comment:4 by korli, 18 years ago

Resolution: fixed

comment:5 by korli, 18 years ago

Status: newclosed

comment:6 by korli, 18 years ago

hopefully fixed in revision 18549. Please check and change the state of the bug

...

comment:7 by danny@…, 18 years ago

Yep, works fine now as expected

Note: See TracTickets for help on using tickets.