Closed Bug 257133 Opened 20 years ago Closed 19 years ago

Error in "toolkit/profile/src/" when trying to build Firefox with Apple GCC-3.5-tree-ssa

Categories

(Toolkit :: Startup and Profile System, defect)

PowerPC
macOS
defect
Not set
blocker

Tracking

()

VERIFIED DUPLICATE of bug 294244

People

(Reporter: MMx, Unassigned)

References

Details

(Keywords: helpwanted)

As in all bugs tracked by bug 257100, I got an error when trying to compile
Firefox with the Apple gcc-3.5-tree-ssa compiler:

in file 

------------8<----------------
nsToolkitProfileService.cpp
c++ -o nsToolkitProfileService.o -c -DOSTYPE=\"Darwin7.5.0\" -DOSARCH=\"Darwin\"
-I./../../xre -I../../../profile/dirserviceprovider/src 
-I../../../dist/include/xpcom -I../../../dist/include/string
-I../../../dist/include/appcomps -I../../../dist/include/xulapp
-I../../../dist/include
-I/Volumes/FW_Jaguar/TEMP/Builds/Firefox/Trunk/mozilla/dist/include/nspr    
-I/usr/X11R6/include   -mdynamic-no-pic  -I/usr/X11R6/include -fno-rtti
-fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor
-Wno-long-long -fpascal-strings -no-cpp-precomp -fno-common -fshort-wchar
-I/Developer/Headers/FlatCarbon -pipe  -DNDEBUG -DTRIMMED -O2 
-I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../mozilla-config.h
-Wp,-MD,.deps/nsToolkitProfileService.pp nsToolkitProfileService.cpp
nsToolkitProfileService.cpp: In function `nsresult NS_GetFileFromPath(const
char*, nsILocalFile**)':
nsToolkitProfileService.cpp:778: error: invalid conversion from `const char*' to
`const UInt8*'
nsToolkitProfileService.cpp:778: error:   initializing argument 2 of
`const__CFURL* CFURLCreateFromFileSystemRepresentation(const__CFAllocator*,
const UInt8*, CFIndex, Boolean)'
make[5]: *** [nsToolkitProfileService.o] Error 1
---------------8<---------------------------------

see bug 257100 and other gcc-3.5 bugs for more information.
CCing bsmedberg because it's his code ;)
Patches welcome.
Assignee: jag → bsmedberg
Component: XP Toolkit/Widgets → Startup and Profile System
Keywords: helpwanted
Product: Browser → Firefox
QA Contact: jrgmorrison → bsmedberg
Assignee: benjamin → nobody

*** This bug has been marked as a duplicate of 294244 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.