<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/jack2/0003-tests-define-__STDC_LIMIT_MACROS.patch, branch 2017.02.1</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2017.02.1</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2017.02.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2016-08-27T13:45:43+00:00</updated>
<entry>
<title>jack2: fix build issue with glibc</title>
<updated>2016-08-27T13:45:43+00:00</updated>
<author>
<name>Rahul Bedarkar</name>
<email>rahul.bedarkar@imgtec.com</email>
</author>
<published>2016-08-22T17:31:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=06ae84405d8c0e7308b780aab532a8be64a08457'/>
<id>urn:sha1:06ae84405d8c0e7308b780aab532a8be64a08457</id>
<content type='text'>
With glibc 2.16, we get following build error when building jack2:

  [193/247] cxx: tests/iodelay.cpp -&gt; build/tests/iodelay.cpp.4.o
  ../tests/iodelay.cpp:171:43: error: 'UINT32_MAX' was not declared in this scope
  ../tests/iodelay.cpp:171:55: error: 'UINT32_MAX' was not declared in this scope
  ../tests/iodelay.cpp:172:44: error: 'UINT32_MAX' was not declared in this scope
  ../tests/iodelay.cpp:172:56: error: 'UINT32_MAX' was not declared in this scope

In glibc 2.17 or older version, Header &lt;stdint.h&gt; defines these macros
for C++ only if explicitly requested by defining __STDC_LIMIT_MACROS.

We can't use &lt;cstdint&gt; since it requires C++11 standard.

Fixes:

  http://autobuild.buildroot.net/results/369ce208ffea43dad75ba0a13469159b341e3bf5/

Signed-off-by: Rahul Bedarkar &lt;rahul.bedarkar@imgtec.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
</feed>
