Hi again,
________________________________ From: Francesco <f18m_cpp217...@yahoo.it> To: wxcode-users@lists.sourceforge.net Sent: Mon, May 17, 2010 3:07:18 PM Subject: Re: [wxCode-users] build system for wxCode components (was without subject) Hi, sorry for the delay with this reply but I've seen this message only now (it has been marked as spam by gmail as it was without subject! please use "reply" and preserve the subject when writing on this mailing list). No problem. I always do. Who knows what Yahoo gets up to. ;-) 2010/5/11 sdfkjsjlh sdbfgsfsdg <sdfkjsjlhsdbfgsf...@yahoo.com>: > I'm cutting this thread down to the existing issues. > > I'm also not getting this list at my registered address. I've turned off > digests to see if that helps. hmmm, there's a "delivery" option in gnu mailman IIRC; maybe in your case is set to disabled? Or maybe GNU mailman is "smart" and considers your mail address as not-real (given it's very uncommon/strange!!). I think they were being held back until the next digest. All OK now. > 2010/5/8 sdfkjsjlh sdbfgsfsdg <sdfkjsjlhsdbfgsf...@yahoo.com>: > I could but that's not the point. The point is that the template doesn't do > it and here, I think, is why. > I have the latest SVN. > > In \wxCode\build\bakefiles\presets line 17: > > <!-- now all kind of MSVC > project files: --> > <add-formats>msvc6prj,msvs2005prj,msvs2003prj</add-formats> >... > Ain't no VC2008 there. ;-) > > Also, checking the header lines of the projects generated verifies that they > are for VC6, VC2003 and VC2005. > I'd say you've tweaked your local copy. ouch!!! You're right. I've got VS2008 format enabled in my wxCode repo but never checked it actually!! Sorry for the misunderstaing; it's my fault. I've committed it now. ------------ Haha. No problem at all. I don't need it but I guess others will. I like a bit of detective work. ;-) Actually I also found out that I'm using the wx presets updated to wx29 which are a bit different from those in wxCode/build currently (which are aimed at wx28). I won't commit the updated presets however but I should inform all wxCode developers that current wxCode presets should be used only with WX_VERSION=28 (maybe in some cases they work also with wx29 but I'm not sure)... --------- Sorry, what do you mean by "presets"? > The other thing that occurred to me was that 2.9 no longer uses wxT(), so > it's probably fine under that. As a side note, wx29 officially suggests to not use any macro around strings. This improves the code readability. But if you want to update the code you can just replace wxT() with wxS() which gives the best performances. -------- Yeah. I use 2.8 Unicode, though. Do you happen to know what the best practice is to support both? I don't plan to move to 2.9 until they get a release version out. Conditionals can't be good. Is there a better way? > It appears that in line 36 > > relok=$(($aclocal_maj == $aclocal_minimal_maj && $aclocal_min == > $aclocal_minimal_min && \ > -> $aclocal_rel >= $aclocal_minimal_rel)) > > aclocal_rel is resolving to null or something. this is strange... it seems to run fine here (I've got aclocal 1.11.1). Which version of aclocal do you have? -------- I have 1.11, which was the latest available for MSys the other day. Are you sure your acregen.sh is using the correct newlines (CR only, not CRLF)? ---- Nope but I'm on Windows so I don't care about line endings. :-) Maybe you can try to simply replace lines 35 and 36 with: relok=$(($aclocal_maj == $aclocal_minimal_maj && $aclocal_min == $aclocal_minimal_min && $aclocal_rel >= $aclocal_minimal_rel)) (i.e. everything on the same line).... -------- I'll give it a go. Thanks. Gary.
------------------------------------------------------------------------------
_______________________________________________ wxCode-users mailing list wxCode-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxcode-users