Bug 15134 - IEEE_ONE undefined when compiling with Intel C Compiler
Summary: IEEE_ONE undefined when compiling with Intel C Compiler
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-19 15:40 UTC by Matt Turner
Modified: 2009-08-24 12:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Fix undefined IEEE_ONE with Intel C Compiler (567 bytes, patch)
2008-03-19 15:40 UTC, Matt Turner
Details | Splinter Review
Correctly Fix undefined IEEE_ONE with Intel C Compiler (571 bytes, patch)
2008-03-19 15:54 UTC, Matt Turner
Details | Splinter Review

Description Matt Turner 2008-03-19 15:40:22 UTC
Created attachment 15313 [details] [review]
Fix undefined IEEE_ONE with Intel C Compiler

The #define'd constant IEEE_ONE, defined in src/mesa/main/imports.h, appears as undefined by the Intel C Compiler. This is because the surrounding #if defined code checks for __amd64__ and not __x86_64__. gcc defines both, icc defines only the latter.
Comment 1 Matt Turner 2008-03-19 15:54:24 UTC
Created attachment 15314 [details] [review]
Correctly Fix undefined IEEE_ONE with Intel C Compiler
Comment 2 Brian Paul 2008-03-19 16:28:14 UTC
fixed in git.  Thanks.
Comment 3 Adam Jackson 2009-08-24 12:29:40 UTC
Mass version move, cvs -> git


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.