Re: assert

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

 



On 24/08/2016, Yehuda Sadeh-Weinraub wrote:
> Will that work on any system we compile on?

Yes and no. As given it will work on GNU libc. For FreeBSD we would
need to change the name of the function we chunk in to __assert and
the order of arguments is different. So, to do it portably, we'd need
a shim for each C library we're ported to. There aren't /that/ many C
libraries in the world so it's not a difficult thing to make work, but
it is a bit fiddly.

-- 
Senior Software Engineer           Red Hat Storage, Ann Arbor, MI, US
IRC: Aemerson@{RedHat, OFTC, Freenode}
0x80F7544B90EDBFB9 E707 86BA 0C1B 62CC 152C  7C12 80F7 544B 90ED BFB9
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux