Opened 8 years ago

Last modified 7 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@…

Description

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 7 years ago by bird

  • Component changed from baselayout to libc
  • Keywords log2f added
  • Milestone set to libc-0.7
  • Status changed from new to accepted
  • Version set to 0.6

This means updating math bits, so next major release.

Note: See TracTickets for help on using tickets.