View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004585 | The Dark Mod | Coding | public | 23.07.2017 13:38 | 06.08.2017 11:33 |
Reporter | DasCapschen | Assigned To | stgatilov | ||
Priority | normal | Severity | normal | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | PC | OS | Linux | OS Version | 4.11.9-Arch |
Product Version | SVN | ||||
Fixed in Version | TDM 2.06 | ||||
Summary | 0004585: [Linux] Compilation Error due to case sensitivity | ||||
Description | When trying to compile the SVN version of TDM, compilation fails as both framework/File.cpp and framework/FileSystem.cpp try to include "minizip/Unzip.h" and "minizip/Zip.h" but the actual header files do not start with capital letters. Not a huge deal to fix, but I thought I'd report it so it's fixed in the SVN and perhaps remind the dev team to pay attention to case sensitivity. Diff included for fix. | ||||
Tags | No tags attached. | ||||
Attached Files | case_sensitivity_fix.diff (676 bytes)
Index: framework/File.cpp =================================================================== --- framework/File.cpp (Revision 7044) +++ framework/File.cpp (Arbeitskopie) @@ -18,7 +18,7 @@ -#include "minizip/Unzip.h" +#include "minizip/unzip.h" /* ================= Index: framework/FileSystem.cpp =================================================================== --- framework/FileSystem.cpp (Revision 7044) +++ framework/FileSystem.cpp (Arbeitskopie) @@ -18,9 +18,9 @@ -#include "minizip/Unzip.h" +#include "minizip/unzip.h" //stgatilov: for pk4 repacking -#include "minizip/Zip.h" +#include "minizip/zip.h" #ifdef WIN32 #include <io.h> // for _read | ||||
Thanks for reporting this! Please don't hesitate to report any issues for Linux build. I wish you had access to latest SVN assets too... Hopefully fixed in revision 7059. As for "remind the dev team to pay attention to case sensitivity", I'm afraid it is pretty useless. I think everyone knows that everything must be treated case sensitive, but it is hard to perfectly follow this rule when no one compiles TDM on Linux =( Due to some reason, these errors do not happen for me in the Linux VM, maybe because the project is located on NTFS shared directory. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
23.07.2017 13:38 | DasCapschen | New Issue | |
23.07.2017 13:38 | DasCapschen | File Added: case_sensitivity_fix.diff | |
06.08.2017 11:33 | stgatilov | Note Added: 0009056 | |
06.08.2017 11:33 | stgatilov | Assigned To | => stgatilov |
06.08.2017 11:33 | stgatilov | Status | new => assigned |
06.08.2017 11:33 | stgatilov | Status | assigned => resolved |
06.08.2017 11:33 | stgatilov | Fixed in Version | => TDM 2.06 |
06.08.2017 11:33 | stgatilov | Resolution | open => fixed |