[Home]

Summary:ASTERISK-06700: [patch] Silent some compiler warnings
Reporter:Andrey S Pankov (casper)Labels:
Date Opened:2006-04-04 12:39:04Date Closed:2011-06-07 14:07:19
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Functions/func_odbc
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) func_odbc.c.diff
Description:GCC 3.4.x
Comments:By: Tilghman Lesher (tilghman) 2006-04-04 15:03:14

That's a bug in GCC 3.4.  GCC 4 handles this without a warning.

By: Andrey S Pankov (casper) 2006-04-05 10:10:22

The same warning with 3.3.6 on slackware 10.2:
warning: passing arg 1 of `asprintf' from incompatible pointer type

By: Tilghman Lesher (tilghman) 2006-04-05 12:23:11

Nothing has changed.  It is still a bug in the old version of gcc.