Opened 9 years ago

Last modified 9 years ago

#243 accepted defect

Some math functions are wrapped in __USE_GNU

Reported by: dryeo Owned by: bird
Priority: normal Milestone: libc-0.7
Component: libc Version: 0.6
Severity: normal Keywords: log2f
Cc: dave.r.yeo@…


When compiling with -Werror=implicit-function-declaration without defining _GNU_SOURCE some math functions fail, eg

/usr/src/ffmpeg.libav/libavcodec/aaccoder.c: In function 'coef2minsf':
/usr/src/ffmpeg.libav/libavcodec/aaccoder.c:522: error: implicit declaration of function 'log2f'

It seems that on OS/2 we shouldn't need to define _GNU_SOURCE

Change History (1)

comment:1 Changed 9 years ago by bird

Component: baselayoutlibc
Keywords: log2f added
Milestone: libc-0.7
Status: newaccepted
Version: 0.6

This means updating math bits, so next major release.

Note: See TracTickets for help on using tickets.