forked from civctp2/civctp2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make compilable with modern compiler (clang-3.4.1):
. Resolve all of the warnings having to do with string literals used as "char *" -- by changing them to "const char *" throughout. . The above allowed to for much more straightforward API-calls in various places, where before the string literal would be first copied into a local variable -- pass the literal to the function, that now accepts const anyway. . Remove the vast number of unused variables. . Remove references to <malloc.h> -- the file was removed from the standard collection in the last millennium. . Make compilable on FreeBSD (hopefully, other BSDs would work too). . Fixes to autotools glue to please the modern versions of the tools. . Fixes to CivPaths to avoid crashing if data-files aren't found at startup To be continued... git-svn-id: http://ctp2.darkdust.net/anonsvn/branches/linux@1117 34d2fc0c-33df-0310-8a34-85f8040ba873
- Loading branch information
mi
committed
May 23, 2016
1 parent
da6e30e
commit 88eb706
Showing
667 changed files
with
4,345 additions
and
7,773 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.