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

  • From: Richard Drummond <evilrich@xxxxxxxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Thu, 9 Jun 2005 20:59:16 -0500

Hi Markku

On Thursday 09 June 2005 04:34 pm, Markku Sukanen wrote:
> 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.

Yes. Version 0.8.27 has problems with GCC 4.0. For some bizarre reason, 
earlier versions of GCC don't spot these obvious errors. I've fixed the 
problem in CVS, or you can find a recent source code snapshot at:
http://rcdrummond.net/uae/test/20050607/e-uae-0.8.28-CVS.tar.bz2

Cheers,
Rich

Other related posts: