[odamex-bug-reporter] [Bug 757] New: Compiler errors in 0.5.5 odalaunch

  • From: odamex-bugtracker@xxxxxxxxxx
  • To: odamex-bug-reporter@xxxxxxxxxxxxx
  • Date: Tue, 01 Nov 2011 21:49:35 +0000

http://odamex.net/bugs/show_bug.cgi?id=757

             Bug #: 757
           Summary: Compiler errors in 0.5.5 odalaunch
    Classification: Unclassified
           Product: Odamex
           Version: 0.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Launcher
        AssignedTo: odamex-bug-reporter@xxxxxxxxxxxxx
        ReportedBy: ant+odamex.bugs@xxxxxxxxxxxxxxxxx


Patch included

g++ -c src/dlg_config.cpp -o src/dlg_config.o
-I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -g -I. -I./res
-I../odalpapi
In file included from src/dlg_config.cpp:36:0:
src/main.h:34:34: error: expected class-name before ‘{’ token
make[1]: *** [src/dlg_config.o] Error 1
make[1]: Leaving directory `/home/ant/odamex-src-0.5.5/odalaunch'
make: *** [odalaunch/odalaunch] Error 2

g++ -c ../odalpapi/net_io.cpp -o ../odalpapi/net_io.o
-I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -g -I. -I./res
-I../odalpapi
../odalpapi/net_io.cpp: In member function ‘int32_t
BufferedSocket::GetData(const int32_t&)’:
../odalpapi/net_io.cpp:264:54: error: invalid conversion from ‘int*’ to
‘socklen_t*’
../odalpapi/net_io.cpp:264:54: error:   initializing argument 6 of ‘ssize_t
recvfrom(int, void*, size_t, int, sockaddr*, socklen_t*)’
make[1]: *** [../odalpapi/net_io.o] Error 1
make[1]: Leaving directory `/home/ant/odamex-src-0.5.5/odalaunch'
make: *** [odalaunch/odalaunch] Error 2

-- 
Configure bugmail: http://odamex.net/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Other related posts:

  • » [odamex-bug-reporter] [Bug 757] New: Compiler errors in 0.5.5 odalaunch - odamex-bugtracker