[Therion] Packaging therion 5.3 doe Debian/ubuntu
Wookey
wookey at wookware.org
Tue Jun 1 22:29:03 CEST 2010
+++ Stacho Mudrak [2010-06-01 21:31 +0200]:
> > So, can anyone explain why THVERSION is happily in scope so long as
> > the code is wrong, but as soon as we use the _T() fn/macro a complaint
> > about a variable that doesn;t exist is produced?
>
> L is inserted before the string probably because unicode string
> constant is used. But it is strange, on gcc 4.3 there is no such
> error. I have tried using _T("" THVERSION "") in the latest snapshot.
> It compiles on 4.3, does it on 4.4?
Yep. That compiles on 4.4 and it works in the about window.
Well done that man! Does that explain what's going on? It does feel
like this is working round some other issue rather than actually being
'correct'.
I'll go with that patch for now.
(I still need to test this with gcc v4.5 as well)
Wookey
--
Principal hats: Emdebian, Wookware, Balloonboard
http://wookware.org/
More information about the Therion
mailing list