Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#19 fix building with gcc-2.95

open
nobody
None
5
2010-08-02
2010-08-02
No

this is probably a duplicate of bug: 2807144, however, I was not able there to find a upload button for the patch. Some of the OpenBSD platforms still ship with gcc-2.95, and the proposed solution to use the CFLAGS switch doesn't work, the gcc there tells me its an invalid parameter.

I changed the header file to not use a unnamed union, and added the other files referencing to it, to use the changed struct.

Discussion

  • Boris Zentner
    Boris Zentner
    2010-08-05

    Hi there,

    unfortunately the unnamed union has a reason. Your change require that all 3party applications need code change. Thats not desired right now.

    The best would be if bsd people use just metro_code and remove the whole unamed union ( and dma_code ). in falvor of int metro_code;