[RFC] C-source code writing functionality for ApiTrace (glx/egl)

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Wed Sep 23 01:29:41 PDT 2015


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.

/Juha-Pekka



More information about the apitrace mailing list