Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
Paintboard und Windows?
#11
@Freakazoid
Wie hast das compiliert bekommen mit Fehlern ohne was am Source zu ändern?

Ich erhalte beim Versuch nur diverse Fehlermeldungen die dann zum Abbruch führen:
Code:
gcc.exe -O2 -Wall -Waggregate-return -Wcast-align -Wdeclaration-after-statement
-Werror-implicit-function-declaration -Wextra -Wno-sign-compare -Wno-unused-para
meter -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -
Wpointer-arith -Wundef -pipe -mno-cygwin -mms-bitfields -g -DPIDGIN_PAINTBOARD_V
ERSION=\"0.1\" -DGETTEXT_PACKAGE=\"pidgin-paintboard\" -DHAVE_CONFIG_H -I. -I ..
-I../../../.. -I../../../../libpurple -I../../../../libpurple/win32 -I../../../
../pidgin -I../../../../pidgin/win32 -I../../../../../win32-dev/gtk_2_0-2.14/inc
lude -I../../../../../win32-dev/gtk_2_0-2.14/include/gtk-2.0 -I../../../../../wi
n32-dev/gtk_2_0-2.14/include/glib-2.0 -I../../../../../win32-dev/gtk_2_0-2.14/in
clude/pango-1.0 -I../../../../../win32-dev/gtk_2_0-2.14/include/atk-1.0 -I../../
../../../win32-dev/gtk_2_0-2.14/include/freetype2 -I../../../../../win32-dev/gtk
_2_0-2.14/lib/glib-2.0/include -I../../../../../win32-dev/gtk_2_0-2.14/lib/gtk-2
.0/include -I../../../.. -o paintboard.dll -c paintboard.c
paintboard.c: In function 'receive_draw_brush':
paintboard.c:94: warning: ISO C90 forbids mixed declarations and code
paintboard.c: At top level:
paintboard.c:196: error: expected ')' before 'x'
paintboard.c:196: error: expected ')' before '<' token
paintboard.c:204: error: expected ')' before 'x'
paintboard.c:204: error: expected ')' before '>' token
paintboard.c: In function 'draw_brush':
paintboard.c:248: warning: ISO C90 forbids mixed declarations and code
paintboard.c:259: warning: ISO C90 forbids mixed declarations and code
paintboard.c:270: warning: ISO C90 forbids mixed declarations and code
paintboard.c:281: warning: ISO C90 forbids mixed declarations and code
paintboard.c:302: warning: ISO C90 forbids mixed declarations and code
paintboard.c:308: warning: ISO C90 forbids mixed declarations and code
paintboard.c:314: warning: ISO C90 forbids mixed declarations and code
paintboard.c: In function 'create_board':
paintboard.c:534: warning: ISO C90 forbids mixed declarations and code
paintboard.c:593: warning: passing argument 5 of 'gtk_signal_connect_full' makes
pointer from integer without a cast
../../../../../win32-dev/gtk_2_0-2.14/include/gtk-2.0/gtk/gtksignal.h:119: note:
expected 'gpointer' but argument is of type 'gboolean'
paintboard.c:642: warning: ISO C90 forbids mixed declarations and code
paintboard.c: In function 'received_im_msg_cb':
paintboard.c:655: warning: ISO C90 forbids mixed declarations and code
paintboard.c:673: warning: ISO C90 forbids mixed declarations and code
paintboard.c:703: warning: ISO C90 forbids mixed declarations and code
make[1]: *** [paintboard.dll] Error 1
make[1]: Leaving directory `/c/devel/pidgin/pidgin/plugins/pidgin-paintboard/src
'
make: *** [all] Error 2

Auch -i für ignore errors oder ähnliches führte nicht zum Ziel...
Zitieren
#12
so, anbei meine Änderungen

edit: ich merke gerade, dass ich vor Tagen im falschen Thread geantwortet habe.. O.o

(26.01.2011, 21:49)Freakazoid schrieb: nein, ohne Bearbeitung ging es bei mir auch nicht.

Ich komme aber gerade nicht an meine veränderte Datei ran, hm.


Angehängte Dateien
.zip   paintboard.diff.zip (Größe: 1.28 KB / Downloads: 382)
Welche Pidgin-Version setzt du ein?
Welches Betriebssystem?
Was sagt das Debug-Fenster?

[Bild: pidginbanner.png]
Zitieren
#13
Es gibt immerhin Hoffnung weil der Autor mehr oder weniger aktiv daran arbeiten will am Plugin, siehe auch http://code.google.com/p/pidgin-paintboa...etail?id=8 zwecks "spam".

Muss leider sagen habe auch keine Möglichkeit gefunden die eigenen gesendeten Nachrichten so einfach zu unterdrücken statt leere Nachrichten anzuzeigen, vielleicht übersehe ich auch etwas in der Dokumentation. Habe das ganze Plugin mal in Perl umgesetzt um zu sehen woran die Probleme liegen: http://code.google.com/p/pidgin-paintboard-perl/
Zitieren


Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste