home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.sys.atari.st      Discussion about 16 bit Atari micros      15,439 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 15,098 of 15,439   
   Michael Schwingen to Francois LE COAT   
   Re: Eureka 2.12 is 30 years old   
   26 Feb 17 15:18:44   
   
   From: news-1457978346@discworld.dascon.de   
      
   On 2017-02-26, Francois LE COAT  wrote:   
   >>> What worries me the most, is that there's no 16bits integer type. The   
   >>> C language is inappropriate for 16/32bits ATARI machines.   
   >>   
   >> Huh?   
   >>   
   >> Of course there is - I just tried using gcc-m68k-atari-mint cross-compiler   
   >> (4.6.4) - it is called "short", just like expected.   
   >   
   > Replacing integer type (int) by short type (short) in my 30 years old   
   > sources from Eureka 2.12 doesn't work. GNU/GCC 3.3.6 16bits integer   
   > type is suitable for 16/32bits machines like the ATARI ST, but GNU/GCC   
   > 4.2 and later don't have this 16bits int type. This is a cruel lack =(   
      
   Huh?   
      
   "short" *is* an integer type, so gcc has what you need. If using "short"   
   does not work, your code is buggy in other areas and simply needs to be   
   debugged/fixed - this is not gcc's fault.   
      
   I can accept that you don't want to do that work, but again: that is your   
   decision and not gcc's fault.   
      
   cu   
   Michael   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca