On 07/19/2012 11:37 PM, David C. Rankin wrote:
On 07/19/2012 11:12 PM, David C. Rankin wrote:
OK,
I took the error literally and did:
void addSources(const std::list...<Source*>& inList);
The error then changed quite a bit. Does this shed any more light on the problem (other than the monkey behind the keyboard)?
In file included from kima.cpp:51:0: kima.h:177:24: error: invalid use of template-name 'std::list' without an argument list kima.h:177:33: error: ISO C++ forbids declaration of 'parameter' with no type [-fpermissive]
So then what else could it be that causes it not to recognize list as a list? A header? So I included
#include <list>
Walah!
Finished making: tde-kima 14.0.0_dev-3 (Fri Jul 20 04:43:58 UTC 2012)
patch:
--- kima/src/kima.h +++ /home/david/bld/david/build/src/kima/src/kima.h 2012-07-19 23:42:28.282241352 -0500 @@ -28,6 +28,8 @@ #include "sources/source.h" #include "cpufreqd/cpufreqd.h"
+#include <list>
// TQt #include <tqtooltip.h> #include <tqfont.h>
-- David C. Rankin, J.D.,P.E.
Thanks for the effort in debugging that! I have had my hands full with Real Life for the past few weeks, so I have been largely unable to help.
Committed to GIT in hash 0e4d830.
Tim