search for: rint_az

Displaying 2 results from an estimated 2 matches for "rint_az".

Did you mean: int_a
2017 Jun 01
2
Building theora 1.1.1 with mingw-w64-gcc 7.1 and msys
Hello, I recently attempted to build theora 1.1.1 with mingw-w64-gcc 7.1 and msys and it fails to build the encoder_example.c example program. There are multiple declarations of the function 'rint'. The source file created its own version of the function that rounds AWAY from zero. MinGW-W64 has its own version of the 'rint' function, which does not round away from zero.
2017 Jun 01
0
Building theora 1.1.1 with mingw-w64-gcc 7.1 and msys
Hi people, I fixed the problem by renaming the function and every instance of 'rint' to 'rint_az' (Round Int Away from Zero) and then encoder_example.c built successfully. Don't know if this needs to be patched upstream or not. Edgar On 6/1/2017 2:53 PM, Edgar Reynaldo wrote: > Hello, > > I recently attempted to build theora 1.1.1 with mingw-w64-gcc 7.1 and > msys an...