[LLVMdev] [RFC] New function attributes for errno-setting functions
dan433584 at gmail.com
Fri Sep 13 14:46:53 PDT 2013
On Fri, Sep 13, 2013 at 2:07 PM, Hal Finkel <hfinkel at anl.gov> wrote:
> ----- Original Message -----
> > Food for thought: If you have a codebase which can't use
> > -fno-math-errno, because it relies on errno values from math
> > functions, it may be a more effective long-term strategy to work on
> > modernizing your codebase, eliminating the dependencies on errno,
> > rather than going through the trouble of adding even more complexity
> > to compilers to keep errno support limping along.
> Wouldn't that require 'modernizing' POSIX? ;) How else can you get the
> error code from open() or any number of other functions
open is not a math function.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev