After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 341990 - Prototype mismatch in festivalsynthesisdriver.c
Prototype mismatch in festivalsynthesisdriver.c
Status: RESOLVED FIXED
Product: gnome-speech
Classification: Deprecated
Component: drivers
0.4.x
Other Mac OS
: Normal minor
: ---
Assigned To: Willie Walker
GNOME Speech Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2006-05-16 15:32 UTC by Daniel Macks
Modified: 2006-05-16 15:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Uses proper declaration of argument types (1.82 KB, patch)
2006-05-16 15:47 UTC, Willie Walker
committed Details | Review

Description Daniel Macks 2006-05-16 15:32:24 UTC
Building gnome-speech-0.4.0 on darwin8.6.1 with gcc4.0.1 agsinst glib2-2.8.6, I get:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../gnome-speech -DORBIT2=1 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/orbit-2.0 -I/sw/include/bonobo-activation-2.0 -I/sw/include/libbonobo-2.0   -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare   -no-cpp-precomp -I/sw/include  -O3 -funroll-loops -fstrict-aliasing -c festivalsynthesisdriver.c
festivalsynthesisdriver.c: In function 'festival_synthesis_driver_say_raw':
festivalsynthesisdriver.c:857: warning: passing argument 4 of 'g_io_channel_write_chars' from incompatible pointer type

The code is passing written to g_io_channel_write_chars() as an int* but that function is prototyped for a gsize*
Comment 1 Willie Walker 2006-05-16 15:47:16 UTC
Created attachment 65599 [details] [review]
Uses proper declaration of argument types
Comment 2 Willie Walker 2006-05-16 15:47:41 UTC
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.