[uae] A bit of static/extern problems with GNU GCC 4.0.0

  • From: Markku Sukanen <daikane@xxxxxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Fri, 10 Jun 2005 00:34:15 +0300

There was a slight problem (in my system at least) with eg. sprite_width and ciaa*** variables being defined extern in a header file and static in the implementation... Maybe it works with older compiler version, but the GNU GCC series 4.0.0 on Fedora Core 3&4 terminate with an error when it encounters extern/static mismatch. After removing the 'static' keyword from the bitching *.c files, e-uae compiles just fine :-) - and works pretty smooth, too.

--
.=====< Markku Sukanen >==============================================.
 Alias: Dai Kane, Wuqensta          - Freelance Software Development
 WWW: http://daikane.messiah.ath.cx   (utilities, Linux/SDL games)
 E-mail: daikane@xxxxxxxxxxxxxx     - Web Development (DHTML,PHP,XML)
 GSM: +358 41 481 1406              - System Administration (Linux,NT)
 AIM: markkusk                      - Environmental Activism
 MSN: daikane@xxxxxxxxxxx           - World Peace Movement
'====================================================================='

Other related posts: