[Mesa-dev] [Bug 45905] error: cast from ‘void*’ to ‘intptr_t {aka int}’ loses precision [-fpermissive] in ast_to_hir.cpp
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Feb 10 11:32:53 PST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=45905
--- Comment #1 from Ian Romanick <idr at freedesktop.org> 2012-02-10 11:32:53 PST ---
Something is wonkey with your build or your system. The whole purpose of the intptr_t type is to be an integer that is large enough to hold a pointer. It
sounds like stdint.h on your system is broken or the compile is (somehow) picking up the wrong one.
You might try copy-and-pasting that compile line replacing the -c with -E. The output may give some clue as to where the broken intptr_t definition is coming
from.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the mesa-dev
mailing list