Summary: | [glsl2] glcpp/glcpp-parse.y(312) : error C2146: syntax error : missing ')' before identifier 'PRIiMAX' | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Other | Assignee: | mesa-dev |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | blocker | ||
Priority: | medium | CC: | brianp, idr, jakob, jfonseca |
Version: | git | ||
Hardware: | x86 (IA32) | ||
OS: | Windows (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Vinson Lee
2010-08-13 18:56:23 UTC
This is why stdint.h isn't good enough. inttypes.h defines the macros for printf format strings. I repeat my recommendation that the very high quality implementation of inttypes.h and stdint.h that is hosted on Google Code be put in an external SDK that is used to build Mesa on Windows. http://code.google.com/p/msinttypes/ Fixed with commit 8df0bea9c58e983ded6819914c532edf52737cb7 Author: José Fonseca <jfonseca@vmware.com> Date: Sat Aug 14 16:00:52 2010 +0100 Replace our custom C99 headers with http://code.google.com/p/msinttypes/ Perhaps http://www.azillionmonkeys.com/qed/pstdint.h would be a better (more portable) choice, but only MSVC uses this anyway, and we can always change later. commit 9349379d1acca23e7a2442549e49e9b58515d731 Author: José Fonseca <jfonseca@vmware.com> Date: Sat Aug 14 16:01:24 2010 +0100 Revert "glsl2: Use stdint.h instead of inttypes.h" This reverts commit a77a6bc008b3146c56431fa520a00e1f8dfa3938. mesa: a0b0afc6944b00df27145a96ad2727a36752e1d6 (glsl2) Verified fixed. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.