Mercurial > hg > graal-jvmci-8
comparison src/os/linux/vm/jvm_linux.cpp @ 199:f139919897d2
6681796: hotspot build failure on gcc 4.2.x (ubuntu 8.04) w/ openjdk 6
Summary: Fixed the cast from char* to const char* and tried to use const char* as much as possible
Reviewed-by: never, kamg
Contributed-by: xiaobin.lu@sun.com
author | xlu |
---|---|
date | Tue, 17 Jun 2008 09:59:59 -0700 |
parents | a61af66fc99e |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
198:6470a2a42f92 | 199:f139919897d2 |
---|---|
130 WINCH, POLL, IO, PWR, SYS | 130 WINCH, POLL, IO, PWR, SYS |
131 | 131 |
132 */ | 132 */ |
133 | 133 |
134 struct siglabel { | 134 struct siglabel { |
135 char *name; | 135 const char *name; |
136 int number; | 136 int number; |
137 }; | 137 }; |
138 | 138 |
139 struct siglabel siglabels[] = { | 139 struct siglabel siglabels[] = { |
140 /* derived from /usr/include/bits/signum.h on RH7.2 */ | 140 /* derived from /usr/include/bits/signum.h on RH7.2 */ |