On 13 May in article <mpro.qa9ji90172vg40c85.news@stevefryatt.org.uk>,
Steve Fryatt <news@stevefryatt.org.uk> wrote:
This is version 3.20 (September 2008). The latest that I'm aware of
is 3.21 (alpha), if you build from source.
I would love to see WinEd made a little more stable, as it is my
favourite template editor. Currently using a Titanium, previously
RPi3 and Iyonix.
But I maybe have the advantage of having v3.22a (Oct 2008) here!
I was feeding back issues and suggestions to Adam before he lost
interest, so it may be worth trying to contact hime if you have not
already tried.
Well, I finally got back to looking at this...
I can now mostly build WinEd from source, although I've had to comment
some code out for now to make it compile.
One oddity is that it seems to include an Error.c source file which GCC thinks duplicates the Error.c in DeskLib. This appears to be to allow
WinEd to set its own error box titles, but there seems to be no way to
get the linker to pick WinEd's Error.o over the one in DeskLib (although
the DeskLib notes suggest that this is what should be done).
I don't suppose that you have the source to it and the associated
DeskLib? Even the 3.20 tag from SVN references what I take to be a
DeskLib function call (Pointer_SetPosition) which isn't in the DeskLib sources in SVN; it's not used in the 3.10 tag of WinEd, so it looks like
a newish feature.
It doesn't look like a big deal to recreate, but having the original
code would be better.
Also, the version of WinEd in SVN reports itself to be 3.21a, so
presumably there are some other code mods that never made it into SVN.
But I maybe have the advantage of having v3.22a (Oct 2008) here!
I don't suppose that you have the source to it and the associated
DeskLib? Even the 3.20 tag from SVN references what I take to be a
DeskLib function call (Pointer_SetPosition) which isn't in the
DeskLib sources in SVN; it's not used in the 3.10 tag of WinEd, so
it looks like a newish feature.
It doesn't look like a big deal to recreate, but having the
original code would be better.
Steve Fryatt <news@stevefryatt.org.uk> wrote:
One oddity is that it seems to include an Error.c source file which GCC thinks duplicates the Error.c in DeskLib. This appears to be to allow
WinEd to set its own error box titles, but there seems to be no way to
get the linker to pick WinEd's Error.o over the one in DeskLib (although the DeskLib notes suggest that this is what should be done).
I'm a bit puzzled by that - normally linking is done on a per-function
basis, rather than a per-file basis. In other words you might have foo.o twice but if the functions don't overlap it's not a problem.
I assume you're doing -lDeskLib rather than trying to link all the *.o
from Desklib? Where does it talk about this in the Desklib notes?
The other thing I'd try is changing the order on the link line so that it detects the right one first.
Also, the version of WinEd in SVN reports itself to be 3.21a, so
presumably there are some other code mods that never made it into SVN.
If anyone wants commit access to SVN to tidy things up, I'm happy to
arrange that...
On 16 Jun, Theo wrote in message
<Coy*RGJUx@news.chiark.greenend.org.uk>:
Yes, that's what I thought... The Error.h in DeskLib says
: This header provides centralised error reporting routines, and a few
: macros to help with error reporting.
: This idea is that if you want to replace these with your own error
: reporting routines you can just link against your set instead and keep the : function prototypes the same. An example of this is linking against
: Desklib:o.Other.SmError which provides command-line output of errors by
: writing them to stderr.
Then WinEd has its own Error.c file, which contains duplicates of some of
the routines defined in DeskLib's Error.c and Error.h, which appear to do most of the same things in different ways.
The Makefile does
linkflags = -mlibscl -o ../!RunImage,ff8
libraries = -L$(GCCSDK_INSTALL_ENV)/lib -lDesk-scl -lFlexLib32
# Default rule
../!RunImage,ff8 : $(objects)
$(CC) $(linkflags) $(objects) $(libraries)
The order of $(objects) $(libraries) in the parameter list just affects
which of the two definitions GCC reports as being the original. $(objects) contains the Error.o from WinEd, amongst the other WinEd object files.
It might be useful... :-)
I've already got access to the Tokenize repo, although it's been a while since I used it.
No, sorry. Although I have lots of emails from 2008/9 about bugs and developments, and several different beta versions, the last source I have
is v3.20
When you get to the stage of having a compilable working version I would
be happy to dig out any info about bugs & changes after that point in development - and even to beta test it, if that would help. There are certainly some ZeroPain bugs which could do with sorting!
I wonder if Norcroft will pick the first function it finds and ignore the others. For GCC you can try: -Wl,--allow-multiple-definition
which will pass that the --allow-multiple-definition flag to the linker.
I've given you access to the WinEd and DeskLib repos, have fun :)
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 65 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 01:07:30 |
| Calls: | 862 |
| Files: | 1,311 |
| D/L today: |
10 files (20,373K bytes) |
| Messages: | 264,187 |