[asterisk-bugs] [Asterisk 0010776]: [patch] Portability fixes for openWRT
noreply at bugs.digium.com
noreply at bugs.digium.com
Fri Sep 21 00:04:29 CDT 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=10776
======================================================================
Reported By: Corydon76
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 10776
Category: Core/BuildSystem
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 83380
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 09-20-2007 18:30 CDT
Last Modified: 09-21-2007 00:04 CDT
======================================================================
Summary: [patch] Portability fixes for openWRT
Description:
changes prompted by an email from Brian Capouch on the -dev mailing list.
======================================================================
----------------------------------------------------------------------
capouch - 09-21-07 00:04
----------------------------------------------------------------------
The patch applied cleanly to a fresh checkout of trunk.
Still no joy, however, in terms of the "l" model functions (output
curtailed after representative sample):
../main/ast_expr2.y: In function 'op_func':
../main/ast_expr2.y:730: warning: implicit declaration of function 'cosl'
../main/ast_expr2.y:730: warning: incompatible implicit declaration of
built-in function 'cosl'
../main/ast_expr2.y:739: warning: implicit declaration of function 'sinl'
../main/ast_expr2.y:739: warning: incompatible implicit declaration of
built-in function 'sinl'
../main/ast_expr2.y:748: warning: implicit declaration of function 'tanl'
../main/ast_expr2.y:748: warning: incompatible implicit declaration of
built-in function 'tanl'
However, if I patch ast_expr2.c to #undef __USE_ISOC99 I no longer get the
errors on round() and trunc(), so we have indeed solved that one!
There is a cryptic comment, by Murf, in the ast_expr2.c source code in the
vicinity of the ISO99 stuff that leads me to think that the conditionals
there on that #define may not be fully cooked.
Issue History
Date Modified Username Field Change
======================================================================
09-21-07 00:04 capouch Note Added: 0070885
======================================================================
More information about the asterisk-bugs
mailing list