Hi!

Welcome Matthew to GNU Hurd development!  :-)


On Mon, 19 Nov 2012 15:02:52 +0000, Matthew Leach <matt...@mattleach.net> wrote:
> Some versions of gcc will error if you define a type twice (even if
> the definition is the same). The ncr53c8xx scsi driver defines
> 'vm_offset_t', this is also defined in mach_types.h and will therefore
> cause a compilation error depending on the gcc version.
> 
> * linux/src/drivers/scsi/ncr53c8xx.c: exclude the typedef's if we are
>   executing a mach build.

(We already discussed this issue/patch on IRC.)  Thanks for the patch,
pushed as commit bdae52f1465743ad96b2261e053ae4967f807557 with the
following slightly modified commit message (GNU ChangeLog style takes
some time to master, no worries):

    Fix compilation error with older versions of GCC
    
    Some versions of GCC will error if you define a type twice (even if
    the definition is the same). The NCR53C8XX SCSI driver defines
    'vm_offset_t', this is also defined in vm_types.h and will therefore
    cause a compilation error depending on the GCC version.
    
    * linux/src/drivers/scsi/ncr53c8xx.c [!MACH] (vm_offset_t, vm_size_t): Don't
    define types.


Grüße,
 Thomas

Attachment: pgpTDYW4PYb8O.pgp
Description: PGP signature

Reply via email to