you're right...its friday...  ;-)


On Fri, 2006-07-28 at 13:21 -0700, Roland Dreier wrote:
>     Steve> Uh, won't that break binary compatibility?  Or is that not
>     Steve> a requirement?  IE: If you make the ibv_* names #defines,
>     Steve> then all apps will have to recompile to use the new lib.
>     Steve> If you leave them as the real names, then apps can still
>     Steve> link to the new lib and run ok...i think...
> 
> I don't think the names of structures matters for ABI compatibility --
> if I have a header with
> 
>       struct foo {
>              int a;
>              int b;
>       };
>       
>       void blah(struct foo *z);
> 
> then a binary compiled against that will still work even if I later
> change the name of struct foo so I have:
> 
>       stuct bar {
>              int c;
>              int d;
>       };
>       
>       void blah(struct bar *z);
> 
> after all the layout of struct foo and struct bar are the same.
> 
>  - R.


_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to