stipid / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

Compile error on Solaris 8 - google-breakpad/src/common/md5.h includes stdint.h which is not available #249

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile on Solaris 8
2.
3.

What is the expected output? What do you see instead?

It should compile

I see this instead:

gcc -o md5.o -c  -DOSTYPE=\"SunOS5\" -DOSARCH=SunOS
-I/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/commo
n/..
-I/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/commo
n
-I.  -I../../../../../dist/include  
-I../../../../../dist/include/breakpad_common
-I../../../../../dist/include/nspr     -I../../../../../dist/sdk/include
-I/usr/openwin/include   -fPIC
-I/gorbag/exta/cad/externals/SOLARIS/gnome2/include
-I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 -O2
-Wno-unknown-pragmas -mcpu=ultrasparc
-I/gorbag/exta/cad/externals/SOLARIS/include  -I/usr/openwin/include
-Wno-long-long -pedantic -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include
-I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 -O2
-Wno-unknown-pragmas -mcpu=ultrasparc
-I/gorbag/exta/cad/externals/SOLARIS/include -fno-strict-aliasing -pthreads 
-DNDEBUG -DTRIMMED -O  -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include
-I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 -O2
-Wno-unknown-pragmas -mcpu=ultrasparc
-I/gorbag/exta/cad/externals/SOLARIS/include  -I/usr/openwin/include -include
../../../../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/md5.pp
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
md5.c
In file included from
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
md5.c:18:
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
../common/md5.h:6:20:In
file included from
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
md5.c:18:
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
../common/md5.h:1:1:
warning: C++ style comments are not allowed in ISO C90
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
../common/md5.h:1:1:
warning: (this will be reported only once per input file)
/icad/12/mozilla/build/mozilla/toolkit/crashreporter/google-breakpad/src/common/
../common/md5.h:6:20:
stdint.h: No such file or directory
 stdint.h: No such file or directory

What version of the product are you using? On what operating system?

The version that is included in firefox 3 beta 5 (reported as firefox bug
427508)

Please provide any additional information below.

Original issue reported on code.google.com by gor...@gmail.com on 7 Apr 2008 at 11:23

GoogleCodeExporter commented 9 years ago
stdint.h is required both by POSIX and ISO C.  if the build env doesn't support 
those basic things, then maybe it's not worth the effort to support.

Original comment by vapier@chromium.org on 11 Sep 2015 at 5:41

GoogleCodeExporter commented 9 years ago
Agreed.

Original comment by ted.mielczarek on 11 Sep 2015 at 10:51