[Scummvm-tracker] [ScummVM :: Bugs] #12789: Compilation failure due usage macro remove()
ScummVM :: Bugs
trac at scummvm.org
Sun Aug 8 22:13:08 UTC 2021
#12789: Compilation failure due usage macro remove()
-----------------------+----------------------------
Reporter: fedor4ever | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: SLUDGE
Version: | Keywords:
Game: |
-----------------------+----------------------------
In symbian port remove() declared as macro sibling for unlink() function
in SDK header. Long ago with kind help ScummVM team was invented macro
''SYMBIAN_USE_SYSTEM_REMOVE''. I opened pr -
https://github.com/scummvm/scummvm/pull/3100 - long ago but it was
declined.
Symbian port comes to buildbot soon and such thing shoud be resolved. That
engine doesn't kill symbian port. Any ideas for fix?
Error log:
{{{
make: *** [LIBRARYSLUDGE] Error 2
/Symbian/Projects/SDL/scummvm/engines/sludge/builtin.cpp: In function
'Sludge::BuiltReturn Sludge::builtIn_deleteFile(int,
Sludge::LoadedFunction*)':
/Symbian/Projects/SDL/scummvm/engines/sludge/builtin.cpp:2077:39: error:
'remove' was not declared in this scope; did you mean 'wremove'?
2077 | fun->reg.setVariable(SVT_INT, remove(nam.c_str()));
| ^~~~~~
}}}
--
Ticket URL: <https://bugs.scummvm.org/ticket/12789>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list