Duplicated typedef trips my gcc over
Ben Gamari
ben at smart-cactus.org
Mon Oct 26 10:35:57 UTC 2015
Gabor Greif <ggreif at gmail.com> writes:
> Hi all,
>
> look:
>
> $ git grep "typedef struct LibDwSession_ "
> rts/Libdw.c:typedef struct LibDwSession_ LibDwSession;
> rts/Libdw.h:typedef struct LibDwSession_ LibDwSession;
>
> $ which gcc
> /usr/bin/gcc
>
> $ gcc --version
> gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4)
> Copyright (C) 2010 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> Any reason why we need the typedef in rts/Libdw.c ?? My gcc complains
> about it...
>
Nope; your fix ought to be fine.
Thanks!
- Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20151026/10c14e78/attachment-0001.sig>
More information about the ghc-devs
mailing list