Open GoogleCodeExporter opened 9 years ago
Original comment by sou...@gmail.com
on 4 Feb 2013 at 1:15
In jslibs\src\common\jlplatform.h, can you try to replace definition of:
INT8_MIN
INT16_MIN
INT32_MIN
INT8_MAX
INT16_MAX
INT32_MAX
UINT8_MAX
UINT16_MAX
UINT32_MAX
PTRDIFF_MIN
PTRDIFF_MAX
INT64_MIN
INT64_MAX
UINT64_MAX
by a single #include <stdint.h> (Note that VC9 do not have the file stdint.h)
Original comment by sou...@gmail.com
on 7 Feb 2013 at 12:46
Thanks for the tip. I made the following change in
jslibs-src\libs\js\src\mfbt\stdint.h
#if defined(MOZ_CUSTOM_STDINT_H)
# include MOZ_CUSTOM_STDINT_H
#elif defined(_MSC_VER) && _MSC_VER <= 1600 //version check changed to include
version upto 1600
# include "mozilla/MSStdInt.h"
#else
# include <stdint.h>
#endif
This way standard stdint.h is not included. I tried what you suggested but it
was leading to other similar errors. This seems easier to do.
Thanks.
Original comment by rawat.an...@gmail.com
on 13 Feb 2013 at 5:43
Original issue reported on code.google.com by
rawat.an...@gmail.com
on 4 Feb 2013 at 6:25Attachments: