From 319443d42dbed8d6b07b8a2b7a0e565ff5bd8abf Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Tue, 19 Feb 2013 05:56:07 -0500 Subject: 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. --- src/sim/sim_object.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/sim/sim_object.hh') diff --git a/src/sim/sim_object.hh b/src/sim/sim_object.hh index 6424f631b..1cb06d777 100644 --- a/src/sim/sim_object.hh +++ b/src/sim/sim_object.hh @@ -176,4 +176,8 @@ class SimObject : public EventManager, public Serializable, public Drainable static SimObject *find(const char *name); }; +#ifdef DEBUG +void debugObjectBreak(const char *objs); +#endif + #endif // __SIM_OBJECT_HH__ -- cgit v1.2.3