debugging a crash on Windows

Dirk Hohndel dirk at hohndel.org
Sat Jun 7 12:20:08 PDT 2014


On June 7, 2014 12:14:41 PM Linus Torvalds <torvalds at linux-foundation.org> 
wrote:

> On Sat, Jun 7, 2014 at 11:48 AM, Linus Torvalds
> <torvalds at linux-foundation.org> wrote:
> >
> > I'll see if I can make some really ugly macro magic that makes this 
> "typesafe".
>
> Here's a trial.
>
> Note: this uses gcc-specific crud, so may not be really acceptable. We
> could make the "MATCH()" macro do the type-checking only with gcc, and
> then non-gcc compilers would just silently do the casting.
>
> Does this make any difference for you on Windows?

Will test when I'm home. Thanks


/D




More information about the subsurface mailing list