I say make the change permanent. I have no expectation to ever debug the GNU regex code.


On Jan 30, 2008, at 9:39 AM, David Fishburn wrote:

Well, that was a good idea Elliott.

I looked at this file:

It's changes are quite significant compared to the version checked in to the
ctags source tree.

But what I did manage to do was do a simply comparison between the problem
function and this source.  Basically, all I did was comment out this line:

L481://extern void printchar ();

Then replaced all printchar with putchar.  This appears to allow me to
compile in release and debug modes.

What should we do about making this fix permanent?
Not certain what tests should be run to validate it either.


-----Original Message-----
From: ctags-devel-bounces@lists.sourceforge.net
[mailto:ctags-devel-bounces@lists.sourceforge.net] On Behalf Of
Elliott Hughes
Sent: Thursday, November 22, 2007 12:47 PM
To: ctags-devel Devel
Subject: Re: [Ctags-devel] Compiler errors with new gnu_regex

have you tried using the relevant files from GNU Grep? that at least
looked like it had been maintained into the 21st century.


On 2007-11-22, at 06:36 , David Fishburn wrote:

Good Morning Darren.

Any luck with the laptop yet?

I had a couple cracks at trying to fix this so that I could
at least
compile and debug until you managed to look at it.  I was
in each attempt.


-----Original Message-----
From: darren@darrenhiebert.com [mailto:darren@darrenhiebert.com]
Sent: Monday, November 12, 2007 12:47 PM
To: Elliott Hughes
Cc: David Fishburn; 'ctags-devel Devel'
Subject: Re: [Ctags-devel] Compiler errors with new gnu_regex

I took my computer in for repair last week, so I don't
have available
to me my development environment. I will have to wait to
get it back
before I can comment.


On 2007-11-12, at 07:56, David Fishburn wrote:
Bit more info on this.

I can successfully build a release version.
I only get the:
regex.obj : error LNK2019: unresolved external symbol
referenced in function _print_fastmap dctags.exe : fatal error
LNK1120: 1 unresolved externals

When I attempt to build a debug version.

That give anyone any ideas?

maybe that Darren never built a debug version? i noticed
the other day
that print_fastmap, which references printchar, is in a
#ifdef, but
forgot to mention it (because it didn't occur to me that
that offers
you an effective work-around).


Darren Hiebert