Ticket #595 (closed defect: fixed)
0.5.2 - compile error on OSX using clang, non-void function should return a value
|Reported by:||github2bits||Owned by:||phil|
|Severity:||normal||Keywords:||clang non-void function|
libinfinity-0.5.2 fails to compile using clang on OSX due a bug in the code where a non-void function 'inf_communication_method_received' does not return a value. This bug is acceptable with llvm-gcc or gcc, but clang is stricter. Clang is the default compiler on Apples these days. Atm, Homebrew works around this issue by forcing the library to be built using an alternate compiler. This might be raised to a blocker on the next version of OSX, Mt. Lion, because it will likely only have clang. Thanks for looking into this.