commit | 319443d42dbed8d6b07b8a2b7a0e565ff5bd8abf | [log] [tgz] |
---|---|---|
author | Andreas Hansson <andreas.hansson@arm.com> | Tue Feb 19 05:56:07 2013 -0500 |
committer | Andreas Hansson <andreas.hansson@arm.com> | Tue Feb 19 05:56:07 2013 -0500 |
tree | 49e9d2efb1b21b93cc825dbcbb2c906cbe71fa31 | |
parent | b44e0ce52b894fd4eecc9339e213b7a111c2cc1d [diff] [blame] |
scons: Add warning for missing declarations This patch enables warnings for missing declarations. To avoid issues with SWIG-generated code, the warning is only applied to non-SWIG code.
diff --git a/src/sim/sim_object.hh b/src/sim/sim_object.hh index 6424f63..1cb06d7 100644 --- a/src/sim/sim_object.hh +++ b/src/sim/sim_object.hh
@@ -176,4 +176,8 @@ static SimObject *find(const char *name); }; +#ifdef DEBUG +void debugObjectBreak(const char *objs); +#endif + #endif // __SIM_OBJECT_HH__