Ppsspp: build fails on gentoo

Created on 4 Nov 2017  Â·  4Comments  Â·  Source: hrydgard/ppsspp

Log:
build_log.zip

Gentoo stable amd64
PPSSPP from git

../ppsspp-9999/GPU/Common/FramebufferCommon.cpp:312:6: error: ‘isnan’ was not declared in this scope
  if (isnan(vpy) || vpy > 10000000.0f) {

All 4 comments

Thanks, I'll fix it up shortly.

Still:

../ppsspp-9999/GPU/Common/FramebufferCommon.cpp: In function ‘void GetFramebufferHeuristicInputs(FramebufferHeuristicParams*, const GPUgstate&)’:
../ppsspp-9999/GPU/Common/FramebufferCommon.cpp:310:6: error: ‘isnan’ was not declared in this scope
  if (isnan(vpx) || vpx > 10000000.0f) {
      ^~~~~
../ppsspp-9999/GPU/Common/FramebufferCommon.cpp:313:6: error: ‘isnan’ was not declared in this scope
  if (isnan(vpy) || vpy > 10000000.0f) {
      ^~~~~

In the latest versions of GCC, everything in the cxxx headers are declared in the std namespace only. So it has to be std::isnan.

Ugh, ok. Fix coming up.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

HelloDefender12 picture HelloDefender12  Â·  6Comments

BenCosmos picture BenCosmos  Â·  3Comments

marosis picture marosis  Â·  6Comments

ewlkkf picture ewlkkf  Â·  6Comments

Saramagrean picture Saramagrean  Â·  6Comments