<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - shader_query.cpp:841:34: error: ‘strndup’ was not declared in this scope"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92124#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - shader_query.cpp:841:34: error: ‘strndup’ was not declared in this scope"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92124">bug 92124</a>
from <span class="vcard"><a class="email" href="mailto:siglesias@igalia.com" title="Samuel Iglesias <siglesias@igalia.com>"> <span class="fn">Samuel Iglesias</span></a>
</span></b>
<pre>Should be fixed by:
commit bea66d22f2c0e97242c15652376ae4e82779f343
Author: Samuel Iglesias Gonsalvez <<a href="mailto:siglesias@igalia.com">siglesias@igalia.com</a>>
Date: Mon Sep 28 14:23:34 2015 +0200
util: implement strndup for WIN32
v2:
- Add strndup.h to Makefile.sources (Emil)
- Use calloc instead of malloc (Emil).
- Check if allocation fails (Emil, Jose)
- Add '#pragma once' and include stdlib.h to strndup.h (Jose)
Bugzilla: <a class="bz_bug_link
bz_status_NEW "
title="NEW - shader_query.cpp:841:34: error: ‘strndup’ was not declared in this scope"
href="show_bug.cgi?id=92124">https://bugs.freedesktop.org/show_bug.cgi?id=92124</a>
Reviewed-by: Jose Fonseca <<a href="mailto:jfonseca@vmware.com">jfonseca@vmware.com</a>></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>