Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failing on latest gcc #18

Closed
DannyParker0001 opened this issue Sep 29, 2021 · 0 comments · Fixed by #19
Closed

Build failing on latest gcc #18

DannyParker0001 opened this issue Sep 29, 2021 · 0 comments · Fixed by #19

Comments

@DannyParker0001
Copy link
Contributor

Outputs from configure and build commands are:
./waf configure -T debug > configure.log 2>&1
./waf build -v > compile.log 2>&1

Error is

../engine/gl_matsysiface.cpp: In function ‘void DebugDrawLightmapAtCrossHair()’:
../engine/gl_matsysiface.cpp:975:31: error: ordered comparison of pointer with integer zero (‘SurfaceHandle_t’ {aka ‘msurface2_t*’} and ‘int’)
  975 |         if( s_CrossHairSurfID <= 0 )
      |             ~~~~~~~~~~~~~~~~~~^~~~
In file included from ../public/tier1/utlsymbol.h:17,
                 from ../engine/render_pch.h:13,
                 from ../engine/gl_matsysiface.cpp:12:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant