Skip to content

Instantly share code, notes, and snippets.

@PenguinDOOM
Created March 31, 2022 01:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PenguinDOOM/8b58527fcb05f5112250d433d2fc64f1 to your computer and use it in GitHub Desktop.
Save PenguinDOOM/8b58527fcb05f5112250d433d2fc64f1 to your computer and use it in GitHub Desktop.
AOCC 3.2.0
In file included from /home/penguin/zandronum_build/zandronum/src/sdl/hardware.cpp:51:
In file included from /home/penguin/zandronum_build/zandronum/src/sdl/sdlglvideo.h:7:
In file included from /home/penguin/zandronum_build/zandronum/src/./gl/system/gl_system.h:75:
/home/penguin/zandronum_build/zandronum/src/./gl/api/glext.h:12340:25: error: typedef redefinition with different types ('void (*)(GLenum, GLenum, const GLfloat *)' (aka 'void (*)(unsigned int, unsigned int, const float *)') vs 'void (*)(GLenum, GLenum, GLfloat *)' (aka 'void (*)(unsigned int, unsigned int, float *)'))
typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
^
/usr/include/GL/glew.h:18734:28: note: previous definition is here
typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat* params);
^
In file included from /home/penguin/zandronum_build/zandronum/src/sdl/hardware.cpp:51:
In file included from /home/penguin/zandronum_build/zandronum/src/sdl/sdlglvideo.h:7:
In file included from /home/penguin/zandronum_build/zandronum/src/./gl/system/gl_system.h:75:
/home/penguin/zandronum_build/zandronum/src/./gl/api/glext.h:12342:25: error: typedef redefinition with different types ('void (*)(GLenum, GLenum, const GLint *)' (aka 'void (*)(unsigned int, unsigned int, const int *)') vs 'void (*)(GLenum, GLenum, GLint *)' (aka 'void (*)(unsigned int, unsigned int, int *)'))
typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
^
/usr/include/GL/glew.h:18736:28: note: previous definition is here
typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint* params);
^
In file included from /home/penguin/zandronum_build/zandronum/src/sdl/hardware.cpp:51:
In file included from /home/penguin/zandronum_build/zandronum/src/sdl/sdlglvideo.h:7:
In file included from /home/penguin/zandronum_build/zandronum/src/./gl/system/gl_system.h:75:
/home/penguin/zandronum_build/zandronum/src/./gl/api/glext.h:12344:25: error: typedef redefinition with different types ('void (*)(GLenum, const GLfloat *)' (aka 'void (*)(unsigned int, const float *)') vs 'void (*)(GLenum, GLfloat *)' (aka 'void (*)(unsigned int, float *)'))
typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
^
/usr/include/GL/glew.h:18730:28: note: previous definition is here
typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, GLfloat* params);
^
In file included from /home/penguin/zandronum_build/zandronum/src/sdl/hardware.cpp:51:
In file included from /home/penguin/zandronum_build/zandronum/src/sdl/sdlglvideo.h:7:
In file included from /home/penguin/zandronum_build/zandronum/src/./gl/system/gl_system.h:75:
/home/penguin/zandronum_build/zandronum/src/./gl/api/glext.h:12346:25: error: typedef redefinition with different types ('void (*)(GLenum, const GLint *)' (aka 'void (*)(unsigned int, const int *)') vs 'void (*)(GLenum, GLint *)' (aka 'void (*)(unsigned int, int *)'))
typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
^
/usr/include/GL/glew.h:18732:28: note: previous definition is here
typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, GLint* params);
^
In file included from /home/penguin/zandronum_build/zandronum/src/sdl/hardware.cpp:51:
In file included from /home/penguin/zandronum_build/zandronum/src/sdl/sdlglvideo.h:7:
In file included from /home/penguin/zandronum_build/zandronum/src/./gl/system/gl_system.h:75:
/home/penguin/zandronum_build/zandronum/src/./gl/api/glext.h:12353:25: error: typedef redefinition with different types ('void (*)(GLenum, GLenum, GLfloat *)' (aka 'void (*)(unsigned int, unsigned int, float *)') vs 'void (*)(GLenum, GLenum, const GLfloat *)' (aka 'void (*)(unsigned int, unsigned int, const float *)'))
typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
^
/usr/include/GL/glew.h:18743:28: note: previous definition is here
typedef void (GLAPIENTRY * PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat* data);
^
In file included from /home/penguin/zandronum_build/zandronum/src/sdl/hardware.cpp:51:
In file included from /home/penguin/zandronum_build/zandronum/src/sdl/sdlglvideo.h:7:
In file included from /home/penguin/zandronum_build/zandronum/src/./gl/system/gl_system.h:75:
/home/penguin/zandronum_build/zandronum/src/./gl/api/glext.h:12354:25: error: typedef redefinition with different types ('void (*)(GLenum, GLenum, GLint *)' (aka 'void (*)(unsigned int, unsigned int, int *)') vs 'void (*)(GLenum, GLenum, const GLint *)' (aka 'void (*)(unsigned int, unsigned int, const int *)'))
typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
^
/usr/include/GL/glew.h:18744:28: note: previous definition is here
typedef void (GLAPIENTRY * PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint* data);
^
In file included from /home/penguin/zandronum_build/zandronum/src/sdl/hardware.cpp:51:
In file included from /home/penguin/zandronum_build/zandronum/src/sdl/sdlglvideo.h:7:
In file included from /home/penguin/zandronum_build/zandronum/src/./gl/system/gl_system.h:81:
/home/penguin/zandronum_build/zandronum/src/./gl/api/gl_api.h:3:9: warning: 'APIENTRYP' macro redefined [-Wmacro-redefined]
#define APIENTRYP *
^
/home/penguin/zandronum_build/zandronum/src/./gl/api/glext.h:29:9: note: previous definition is here
#define APIENTRYP APIENTRY *
^
1 warning and 6 errors generated.
make[2]: *** [src/CMakeFiles/zdoom.dir/build.make:118: src/CMakeFiles/zdoom.dir/sdl/hardware.o] エラー 1
make[2]: *** 未完了のジョブを待っています....
2 warnings generated.
/home/penguin/zandronum_build/zandronum/src/sdl/i_system.cpp:123:21: warning: parameter 'on' set but not used [-Wunused-but-set-parameter]
void I_Tactile (int on, int off, int total)
^
3 warnings generated.
make[1]: *** [CMakeFiles/Makefile2:861: src/CMakeFiles/zdoom.dir/all] エラー 2
make: *** [Makefile:91: all] エラー 2
[penguin@archlinux buildclient]$ clang -v
AMD clang version 13.0.0 (CLANG: AOCC_3.2.0-Build#128 2021_11_12) (based on LLVM Mirror.Version.13.0.0)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/AMD/aocc-compiler-3.2.0/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/11
Selected GCC installation: /usr/lib/gcc/x86_64-redhat-linux/11
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
[penguin@archlinux buildclient]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment