nouveau: android: add space before PRIx64 macro

Graphics / Mesa 3D Graphics Library / Mesa - Mauro Rossi [gmail.com] - 9 September 2015 09:25 UTC

Otherwise the android build fails with

error : unable to find string literal operator ‘operator"" PRIx64’

There are several resources referring to the problem, which is related to c++11, in our case used when building mesa for lollipop.

http://comments.gmane.org/gmane.comp.graphics.opensg.user/5883

I've not investigated all the semantics, some people even suggested a bug in the gcc compiler, I just saw the building error was solved with one little space for lollipop and no side effect when c+11 not used.

v2: [Emil Velikov] add an alternative commit message from Mauro.

Cc: 11.0

e838d91 nouveau: android: add space before PRIx64 macro
.../drivers/nouveau/codegen/nv50_ir_print.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share