[quagga-dev 1886] Re: Zebra Ospfd and bgpd is dieing

Paul Jakma paul at clubi.ie
Mon Nov 15 16:37:24 GMT 2004


On Mon, 15 Nov 2004, Andrew J. Schorr wrote:

> I have that flag turned on, but I don't see how gcc can warn about 
> global functions that are not externally referenced unless it is 
> simultaneously processing all of the other source files in the 
> package.

It can check for declarations.. -Wmissing-declarations

> What gcc does say is this:
>
>   memory.c:449: warning: no previous declaration for `show_memory_vty'
>
> That's what tipped me off.

Ah.

> But my real concern is about the shared libraries and what 
> interfaces we are trying to export.  I'm afraid of making something 
> static that is somehow being used by client code that is not part 
> of the quagga distribution...

If its not being used outside that file its fine. And we make no 
promises of exporting a stable ABI. Far too much cleaning up still to 
do to be able to do that.

> -Andy

regards,
-- 
Paul Jakma	paul at clubi.ie	paul at jakma.org	Key ID: 64A2FF6A
Fortune:
In order to dial out, it is necessary to broaden one's dimension.



More information about the Quagga-dev mailing list