septag/rizz

can i use cpp file

raptoravis opened this issue · 0 comments

Hello,

when I rename hello.c to hello.cpp, the following line:

g_stage = the_gfx->stage_register("main", (rizz_gfx_stage){ .id = 0 });

with the following errors:

error C2059: syntax error: '.'
error C2059: syntax error: ')'

as I need to include <string>, otherwise, if I do not rename c to cpp, std will not be compiled!

thanks