Issue information

Issue ID
#7616
Status
Fixed
Severity
None
Started
bgamez23
Aug 2, 2013 13:23
Last Post
bgamez23
Aug 2, 2013 13:59
Confirmation
N/A

bgamez23 - Aug 2, 2013 13:23

[code=auto:0] Error 1 error C2143: syntax error : missing ';' before 'type' \src\map\clif.c 17541 1 map-server Error 2 error C2065: 'parse_cmd_func' : undeclared identifier \src\map\clif.c 17571 1 map-server Warning 3 warning C4047: '=' : 'int' differs in levels of indirection from 'unsigned short (__cdecl *)(int,map_session_data *)' \src\map\clif.c 17571 1 map-server Error 4 error C2065: 'parse_cmd_func' : undeclared identifier \src\map\clif.c 17573 1 map-server Warning 5 warning C4047: '=' : 'int' differs in levels of indirection from 'unsigned short (__cdecl *)(int,map_session_data *)' \src\map\clif.c 17573 1 map-server Warning 6 warning C4013: 'parse_cmd_func' undefined; assuming extern returning int \src\map\clif.c 17575 1 map-server [/code]

Haru - Aug 2, 2013 13:51

Fixed in [url="https://github.com/HerculesWS/Hercules/commit/f6991edd8a6fa2347460c7c1728ffa5643d0bec8"]https://github.com/HerculesWS/Hercules/commit/f6991edd8a6fa2347460c7c1728ffa5643d0bec8[/url]

Sorry for the issue, MSVC really still has a terrible support for the C standards from over 13 years ago.

bgamez23 - Aug 2, 2013 13:59

thanks it works now.