Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
N
netradiant
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 86
    • Issues 86
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 18
    • Merge Requests 18
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • xonotic
  • netradiant
  • Issues
  • #118

Closed
Open
Opened Feb 22, 2018 by Sai Kuda@pillow.kuda.sai 
  • Report abuse
  • New issue
Report abuse New issue

Compilation fails on tools/quake2/qdata_heretic2/qcommon/reference.c

When running make DEPENDENCIES_CHECK=verbose all required libs are found but I run into the following error:

cc tools/quake2/qdata_heretic2/qcommon/reference.c  -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -g -O -fPIC -I/usr/include/libxml2 -Itools/quake2/qdata_heretic2/common -Itools/quake2/qdata_heretic2/qcommon -Itools/quake2/qdata_heretic2 -Itools/quake2/common -Ilibs -Iinclude   -DPOSIX -DXWINDOWS  -DRADIANT_VERSION="\"1.5.0n-git-225d4bba\"" -DRADIANT_MAJOR_VERSION="\"1\"" -DRADIANT_MINOR_VERSION="\"5\"" -DRADIANT_PATCH_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"Custom build\"" -DQ3MAP_VERSION="\"2.5.17n-git-225d4bba\"" -DRADIANT_EXECUTABLE="\"x86_64\"" -DGTK_TARGET=2  -c -o tools/quake2/qdata_heretic2/qcommon/reference.o
In file included from tools/quake2/qdata_heretic2/qcommon/reference.c:24:0:
tools/quake2/qdata_heretic2/qcommon/arrayedlist.h:36:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
 static GDEF_ATTRIBUTE_INLINE int GetFreeNode( ArrayedListNode_t *nodeArray, int max ){
                              ^~~
tools/quake2/qdata_heretic2/qcommon/arrayedlist.h:51:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘void’
 static GDEF_ATTRIBUTE_INLINE void FreeNode( ArrayedListNode_t *nodeArray, int index ){
                              ^~~~
Makefile:483: recipe for target 'tools/quake2/qdata_heretic2/qcommon/reference.o' failed
make: *** [tools/quake2/qdata_heretic2/qcommon/reference.o] Error 1

I attached the full output. full.txtAny help would be much appreciated :)

Related issues

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
No due date
0
Labels
None
Assign labels
  • View project labels
Reference: xonotic/netradiant#118