[RFC] C-source code writing functionality for ApiTrace (glx/egl)
Tapani Pälli
tapani.palli at intel.com
Wed Sep 23 03:28:15 PDT 2015
On 09/23/2015 11:29 AM, Juha-Pekka Heikkila wrote:
> On 22.09.2015 08:54, Tapani Pälli wrote:
>>> * My Makefiles set CC point to clang, this is because for me clang was
>>> essentially faster to compile generated sources. Other than speedier
>>> compilation gcc works equally for me with the generated source codes.
>> For me it didn't, I'm getting errors like this with gcc 5.1.1:
>>
>> frame_0.c:6555:17: error: expected declaration specifiers or ‘...’
>> before numeric constant
>> glUniform4f(3, 0.1434, 0.1329, 0.7755, 1);
>>
>> frame_0.c:6556:23: error: expected declaration specifiers or ‘...’
>> before numeric constant
>> glBindVertexArray(197);
>>
>> ...
>>
> turned out this was clang vs. gcc issue but instead a bug in my code. I
> yesterday pushed fixed version for this issue.
Thanks, I've confirmed that compilation works now ok for my trace.
> /Juha-Pekka
>
> _______________________________________________
> apitrace mailing list
> apitrace at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/apitrace
// Tapani
More information about the apitrace
mailing list