Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2020-01

Gtk2 compilation error on SPARC

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

AlexeyT

When I compile CudaText for Solaris SPARC (32bit CPU as IDE GoTo shows me blocks with "ifdef cpu32") I get compile error, gtk2widgetset.inc

   // clipboard
   ClipboardTypeAtoms[ctPrimarySelection]:=GDK_SELECTION_PRIMARY;
ClipboardTypeAtoms[ctSecondarySelection]:=GDK_SELECTION_SECONDARY;
ClipboardTypeAtoms[ctClipboard]:=gdk_atom_intern('CLIPBOARD',GdkFalse);
///==> gtk2widgetset.inc(1473,36) Error: Incompatible types: got
"PGdkAtom" expected "LongWord"

IDE shows that both sides (array and gdk_atom_intern) are TGdkAtom - hmm.

Lazarus trunk from today.

user at PC:~/fpcupdeluxe/fpc/bin/x86_64-linux$ ./fpc Free Pascal Compiler version 3.3.1-r43462 [2019/11/14] for x86_64

Regards, Alexey

Reply by email