This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch,driver] Fix HPUX bootstrap breakage following putenv patch


Attached patch fixes bootstrap on HPUX, which was broken by my recent
putenv() patch because HPUX putenv() takes a const char * (and not a
char *), thus inducing a -Wwrite-strings error.

Patch kindly tested by Andreas Tobler on hppa64-hp-hpux11.11 (build
past the previous failure), i686-pc-linux-gnu and i686-apple-darwin8
(both bootstrapped successfully). OK to commit?

FX

Attachment: pr33309.ChangeLog
Description: Binary data

Attachment: pr33309.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]