<feed xmlns='http://www.w3.org/2005/Atom'>
<title>external_mesa3d/include/c99_math.h, branch replicant-6.0</title>
<subtitle>external/mesa3d
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/'/>
<entry>
<title>math: Import isinf and others to global namespace</title>
<updated>2016-04-18T10:10:25+00:00</updated>
<author>
<name>Pierre Moreau</name>
<email>pierre.morrow@free.fr</email>
</author>
<published>2016-04-14T18:43:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=649704f1f7c9e1d0990d34a76154b2eb656bee42'/>
<id>649704f1f7c9e1d0990d34a76154b2eb656bee42</id>
<content type='text'>
Starting from C++11, several math functions, like isinf, moved into the std
namespace. Since cmath undefines those functions before redefining them inside
the namespace, and glibc 2.23 defines the C variants as macros, the C variants
in global namespace are not accessible any longer.

v2: Move the fix outside of Nouveau, as suggested by Jose Fonseca, since anyone
    might need it when GCC switches to C++14 by default with GCC 6.0.

v3:
*   Put the code directly inside c99_math.h rather than creating a new header
    file, as asked by Jose Fonseca;
*   Guard the code behind glibc version checks, as only glibc &gt; =2.23 defines
    isinf &amp; co. as functions, as suggested by Jose Fonseca.

Signed-off-by: Pierre Moreau &lt;pierre.morrow@free.fr&gt;
Signed-off-by: Jose Fonseca &lt;jfonseca@vmware.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Starting from C++11, several math functions, like isinf, moved into the std
namespace. Since cmath undefines those functions before redefining them inside
the namespace, and glibc 2.23 defines the C variants as macros, the C variants
in global namespace are not accessible any longer.

v2: Move the fix outside of Nouveau, as suggested by Jose Fonseca, since anyone
    might need it when GCC switches to C++14 by default with GCC 6.0.

v3:
*   Put the code directly inside c99_math.h rather than creating a new header
    file, as asked by Jose Fonseca;
*   Guard the code behind glibc version checks, as only glibc &gt; =2.23 defines
    isinf &amp; co. as functions, as suggested by Jose Fonseca.

Signed-off-by: Pierre Moreau &lt;pierre.morrow@free.fr&gt;
Signed-off-by: Jose Fonseca &lt;jfonseca@vmware.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>include,gallium: Remove pre-MSVC 2013 compatibility.</title>
<updated>2016-02-11T21:36:00+00:00</updated>
<author>
<name>Jose Fonseca</name>
<email>jfonseca@vmware.com</email>
</author>
<published>2016-02-11T11:36:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=0d4898ae8068d3984242775a6fcc87f280c0ac5a'/>
<id>0d4898ae8068d3984242775a6fcc87f280c0ac5a</id>
<content type='text'>
Reviewed-by: Brian Paul &lt;brianp@vmware.com&gt;
Reviewed-by: Roland Scheidegger &lt;sroland@vmware.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Brian Paul &lt;brianp@vmware.com&gt;
Reviewed-by: Roland Scheidegger &lt;sroland@vmware.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>c99_math: (trivial) implement exp2 for MSVC too</title>
<updated>2015-07-29T20:20:04+00:00</updated>
<author>
<name>Roland Scheidegger</name>
<email>sroland@vmware.com</email>
</author>
<published>2015-07-29T20:20:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=2b916c6e47862d82b5545e962ebb83b811904c3b'/>
<id>2b916c6e47862d82b5545e962ebb83b811904c3b</id>
<content type='text'>
Unsurprisingly doesn't build otherwise with old msvc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unsurprisingly doesn't build otherwise with old msvc.
</pre>
</div>
</content>
</entry>
<entry>
<title>c99_math: Implement exp2f for MSVC.</title>
<updated>2015-07-29T16:34:51+00:00</updated>
<author>
<name>Matt Turner</name>
<email>mattst88@gmail.com</email>
</author>
<published>2015-07-16T04:28:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=ecc559218d0a544f8a5f878c500f125c2d588d82'/>
<id>ecc559218d0a544f8a5f878c500f125c2d588d82</id>
<content type='text'>
Reviewed-by: Jose Fonseca &lt;jfonseca@vmware.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Jose Fonseca &lt;jfonseca@vmware.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gallium: fix gcc compile errors when using _XOPEN_SOURCE=600 but not std=c99</title>
<updated>2015-04-03T17:22:09+00:00</updated>
<author>
<name>Jose Fonseca</name>
<email>jfonseca@vmware.com</email>
</author>
<published>2015-04-02T15:35:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=328375d2742a3394dc481fc5fae6c4a5d797b4e7'/>
<id>328375d2742a3394dc481fc5fae6c4a5d797b4e7</id>
<content type='text'>
The fpclassify stuff either needs std=c99 or _XOPEN_SOURCE=600 passed
to gcc, but when using the latter the lrint family of function will be defined
too.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The fpclassify stuff either needs std=c99 or _XOPEN_SOURCE=600 passed
to gcc, but when using the latter the lrint family of function will be defined
too.
</pre>
</div>
</content>
</entry>
<entry>
<title>c99_math: Don't reimplement lrint and friends on MSVC 2013.</title>
<updated>2015-03-25T10:42:41+00:00</updated>
<author>
<name>Jose Fonseca</name>
<email>jfonseca@vmware.com</email>
</author>
<published>2015-03-24T13:16:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=fdb507e3d6a9a78f8a42bc8d6f7e60816627403e'/>
<id>fdb507e3d6a9a78f8a42bc8d6f7e60816627403e</id>
<content type='text'>
MSVC 2013 declares these functions, both for C and C++ source files.

This was caught with MSVC in analyze mode.

Reviewed-by: Brian Paul &lt;brianp@vmware.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MSVC 2013 declares these functions, both for C and C++ source files.

This was caught with MSVC in analyze mode.

Reviewed-by: Brian Paul &lt;brianp@vmware.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>include: Ensure float.h is included for DBL_MAX.</title>
<updated>2015-03-22T08:23:24+00:00</updated>
<author>
<name>Jose Fonseca</name>
<email>jfonseca@vmware.com</email>
</author>
<published>2015-03-19T11:51:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=8d5c303ab965c928eef684755c2db9cd441e37ad'/>
<id>8d5c303ab965c928eef684755c2db9cd441e37ad</id>
<content type='text'>
I didn't actually hit the issue in practice, but just happen to notice
while looking at the code.

Reviewed-by: Brian Paul &lt;brianp@vmware.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I didn't actually hit the issue in practice, but just happen to notice
while looking at the code.

Reviewed-by: Brian Paul &lt;brianp@vmware.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mesa: move fpclassify work-arounds into c99_math.h</title>
<updated>2015-03-12T13:52:35+00:00</updated>
<author>
<name>Brian Paul</name>
<email>brianp@vmware.com</email>
</author>
<published>2015-03-07T20:15:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=be4e198be00c03e88315058eb81187a9547e3e87'/>
<id>be4e198be00c03e88315058eb81187a9547e3e87</id>
<content type='text'>
v2: Use #error in the #else clause, per Jose.

Reviewed-by: Jose Fonseca &lt;jfonseca@vmware.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
v2: Use #error in the #else clause, per Jose.

Reviewed-by: Jose Fonseca &lt;jfonseca@vmware.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mesa: move FLT_MAX_EXP to c99_math.h</title>
<updated>2015-02-28T20:39:57+00:00</updated>
<author>
<name>Brian Paul</name>
<email>brianp@vmware.com</email>
</author>
<published>2015-02-26T18:35:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=61d344ebba65aa35fef9b0bec92be98469b71f71'/>
<id>61d344ebba65aa35fef9b0bec92be98469b71f71</id>
<content type='text'>
Reviewed-by: Ian Romanick &lt;ian.d.romanick@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Ian Romanick &lt;ian.d.romanick@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>c99_math.h: add defines for M_PI, M_E, M_LOG2E</title>
<updated>2015-02-27T14:04:49+00:00</updated>
<author>
<name>Brian Paul</name>
<email>brianp@vmware.com</email>
</author>
<published>2015-02-26T19:31:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=06ed81044fc6b1dee90e67de314f81150746e104'/>
<id>06ed81044fc6b1dee90e67de314f81150746e104</id>
<content type='text'>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89342
Signed-off-by: Brian Paul &lt;brianp@vmware.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89342
Signed-off-by: Brian Paul &lt;brianp@vmware.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
