Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] SWT 3.4M6 does not compile for amd64 arch.

Hello,

  I was trying to compile SWT 3.4M6 for amd64 arch. but it gave this 
  error:
cc -g -O2 -g -Wall -O2 -DUSE_ASSEMBLER -c callback.c
callback.c:436: warning: cast from pointer to integer of different size
callback.c:436: error: initializer element is not constant
callback.c:436: error: (near initialization for 'fnx_array[0][0]')
callback.c:436: warning: cast from pointer to integer of different size
callback.c:436: error: initializer element is not constant
callback.c:436: error: (near initialization for 'fnx_array[0][1]')
callback.c:436: warning: cast from pointer to integer of different size
callback.c:436: error: initializer element is not constant
callback.c:436: error: (near initialization for 'fnx_array[0][2]')
...
callback.c:448: warning: cast from pointer to integer of different size
callback.c:448: error: initializer element is not constant
callback.c:448: error: (near initialization for 'fnx_array[12][126]')
callback.c:448: warning: cast from pointer to integer of different size
callback.c:448: error: initializer element is not constant
callback.c:448: error: (near initialization for 'fnx_array[12][127]')
callback.c: In function 'callback':
callback.c:627: warning: dereferencing type-punned pointer will break strict-aliasing rules
callback.c:632: warning: dereferencing type-punned pointer will break strict-aliasing rules

  The full build log can be found at: 
  http://launchpadlibrarian.net/13967106/buildlog_ubuntu-hardy-amd64.swt-gtk_3.4~M6-1~ppa3_FAILEDTOBUILD.txt.gz

  I was wondering how you managed to build a 64-bit version of SWT 
  3.4M6.

  Thanks...

-- 
 أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
  SySDSoft, Inc.
 GPG KeyID: 0x9DCA0B27 (@ subkeys.pgp.net)
 GPG Fingerprint: 087D 3767 8CAC 65B1 8F6C  156E D325 C3C8 9DCA 0B27


Back to the top