public inbox for sourcenav@sourceware.org
 help / color / mirror / Atom feed
* Re: AW: S-N 4.5.2 hangs while scanning header file
       [not found] <01CDE14BF507D2119A0C00805FBBB713016322B8@ermail3.er.bosch.de>
@ 2000-11-24 15:59 ` Ben Elliston
  0 siblings, 0 replies; 4+ messages in thread
From: Ben Elliston @ 2000-11-24 15:59 UTC (permalink / raw)
  To: Fischer Martin (AT/EES3); +Cc: sourcenav

Martin Fischer wrote:

     >    the file named c:/BC5/INCLUDE/OWL/timegadg.h is part of my
     >    installation of Borland C++ 5.02 / OWL 5.2 on NT 4.0, SP6.

I have been able to reproduce the bug Martin reported with the following
minimal test case:

	class foo {
	#ifdef WITH_INT
	    foo (int,
	#else
	    foo (char,
	#endif
	    int);
	};

I'm going to have a crack at fixing it this morning.

Ben

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: AW: S-N 4.5.2 hangs while scanning header file
  2000-11-23 12:07 ` Ben Elliston
@ 2000-11-24  1:03   ` Niels Skou Olsen
  0 siblings, 0 replies; 4+ messages in thread
From: Niels Skou Olsen @ 2000-11-24  1:03 UTC (permalink / raw)
  To: sourcenav

bje@redhat.com writes:

> That's a good thing.  Now, the problem is, how are you going to contribute
> the file?  It is no doubt under Borland copyright.

One way to narrow it down is to do a "binary search": Cut the file in half
an check each half. Then continue this process recursively on the failing
halves until you have a small enough chunk of header file that fails. If
everything goes well, you'll end up with a small enough chunk that you can
"rewrite" it. This will not violate any copyrights..

Best regards
-- 
Niels Skou Olsen, M.Sc.
Intelligent Engine, R&D
MAN B&W Diesel A/S

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: AW: S-N 4.5.2 hangs while scanning header file
  2000-11-23  8:56 Fischer Martin (AT/EES3)
@ 2000-11-23 12:07 ` Ben Elliston
  2000-11-24  1:03   ` Niels Skou Olsen
  0 siblings, 1 reply; 4+ messages in thread
From: Ben Elliston @ 2000-11-23 12:07 UTC (permalink / raw)
  To: Fischer Martin (AT/EES3); +Cc: sourcenav

   the same

That's a good thing.  Now, the problem is, how are you going to contribute
the file?  It is no doubt under Borland copyright.

Ben

^ permalink raw reply	[flat|nested] 4+ messages in thread

* AW: S-N 4.5.2 hangs while scanning header file
@ 2000-11-23  8:56 Fischer Martin (AT/EES3)
  2000-11-23 12:07 ` Ben Elliston
  0 siblings, 1 reply; 4+ messages in thread
From: Fischer Martin (AT/EES3) @ 2000-11-23  8:56 UTC (permalink / raw)
  To: 'Ben Elliston'; +Cc: sourcenav

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 515 bytes --]

  > -----Ursprüngliche Nachricht-----
  > Von: Ben Elliston [ mailto:bje@redhat.com ]
  > Gesendet am: Donnerstag, 23. November 2000 14:14
  > An: Fischer Martin (AT/EES3)
  > Cc: sourcenav@sources.redhat.com
  > Betreff: Re: S-N 4.5.2 hangs while scanning header file 
  > 
  >    the file named c:/BC5/INCLUDE/OWL/timegadg.h is part of my
  >    installation of Borland C++ 5.02 / OWL 5.2 on NT 4.0, SP6.
  > 
  > If you create a project containing this single file, what happens?
  > 

the same

  > Ben
  > 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-11-24 15:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <01CDE14BF507D2119A0C00805FBBB713016322B8@ermail3.er.bosch.de>
2000-11-24 15:59 ` AW: S-N 4.5.2 hangs while scanning header file Ben Elliston
2000-11-23  8:56 Fischer Martin (AT/EES3)
2000-11-23 12:07 ` Ben Elliston
2000-11-24  1:03   ` Niels Skou Olsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).