aboutsummaryrefslogtreecommitdiff
path: root/devtools/create_project
diff options
context:
space:
mode:
authorJohannes Schickel2011-04-28 16:45:54 +0200
committerJohannes Schickel2011-04-28 16:47:11 +0200
commit78a0db127ab5ccbe53adf86dde1f040364ad3282 (patch)
treefa73421dab23de3424d3388f410b8992927528d0 /devtools/create_project
parent7f889c61011e0d780e190e5aecdb4c157862560c (diff)
downloadscummvm-rg350-78a0db127ab5ccbe53adf86dde1f040364ad3282.tar.gz
scummvm-rg350-78a0db127ab5ccbe53adf86dde1f040364ad3282.tar.bz2
scummvm-rg350-78a0db127ab5ccbe53adf86dde1f040364ad3282.zip
CREATE_PROJECT: Add a FIXME related to our warning lists.
Diffstat (limited to 'devtools/create_project')
-rw-r--r--devtools/create_project/create_project.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/devtools/create_project/create_project.cpp b/devtools/create_project/create_project.cpp
index 475a18bd11..35f68a12c0 100644
--- a/devtools/create_project/create_project.cpp
+++ b/devtools/create_project/create_project.cpp
@@ -296,6 +296,11 @@ int main(int argc, char *argv[]) {
#endif
// List of global warnings and map of project-specific warnings
+ // FIXME: As shown below these two structures have different behavior for
+ // Code::Blocks and MSVC. In Code::Blocks this is used to enable *and*
+ // disable certain warnings (and some other not warning related flags
+ // actually...). While in MSVC this is solely for disabling warnings.
+ // That is really not nice. We should consider a nicer way of doing this.
StringList globalWarnings;
std::map<std::string, StringList> projectWarnings;