This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: Support Windows extended error numbers in safe_strerror


> Date: Sat, 4 Feb 2006 16:32:51 +0100 (CET)
> From: Mark Kettenis <mark.kettenis@xs4all.nl>
> CC: gdb-patches@sourceware.org, jimb@red-bean.com
> 
> >   #ifdef NEED_FOOBAR
> >   foobar ();
> >   #endif
> > 
> > with the body of `foobar' hiding all the rest on a Windows-specific
> > source file.  I think such a method minimizes the bad impact of
> > ifdef's and does not annoy too much when one reads the sources.
> 
> This is slightly better, but starts to get problematic if there are
> many places in the code where this is necessary.

I think we can worry about that when we come to that point.  For now,
I'll be happy just to reach consensus on using this method ;-)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]