DragonFly BSD
DragonFly kernel List (threaded) for 2003-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Redundant declaration of __mbstate_t

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 Nov 2003 11:54:15 -0800 (PST)

::There is a redundant declaration of __mbstate_t in both /usr/include/machin=
::ansi.h and /usr/include/machine/stdint.h  This currently breaks the build o=
::gcc33 from ports.  Should there perhaps be an #ifndef to protect this inste=
::of removing one which could possibly break more software?  Also is anyone=20
::else having consistantly dropped buffers at reboot?  I have at least 6 give=
::up on every boot, even if I unmount everything except root before rebooting.
:    /usr/include/machine/ansi.h no longer exists... what you see in
:    there is a stale copy of the file.
:    Basically we need to modify gcc33 not to try to include it, and also
:    not to try to #define over __size_t.
:						-Matt

    I am going to modify the Makefile's to add a list of header files to remove
    so this does not create more confusion down the line.

    I considered making ansi.h just #include stdint.h, but that's a bit too
    crufty for my tastes.

					Matthew Dillon 

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]