home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 46 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: cs.uwa.edu.au!jasonb
  2. From: jasonb@cs.uwa.edu.au (Jason S Birch)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: PPC compilers
  5. Date: 2 Jan 96 09:48:59 GMT
  6. Organization: The University of Western Australia
  7. Message-ID: <jasonb.820576139@cs.uwa.edu.au>
  8. References: <john.hendrikx.40ka@grafix.xs4all.nl> <0u2Px*sKe@yaps.rhein.de> <CWoRx*xQe@yaps.rhein.de> <4c9ie3$h3i@sunsystem5.informatik.tu-muenchen.de>
  9. NNTP-Posting-Host: decadence.cs.uwa.oz.au
  10. X-Newsreader: NN version 6.5.0 #3 (NOV)
  11.  
  12. fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer) writes:
  13.  
  14. >as it is a rather philosophic question if (*a++||*a++) is C or not,
  15. >no FM can help.
  16.  
  17. Actually, that's valid C - || is a sequence point, and so the first
  18. *a++ is guaranteed to be executed first. No ambiguity. The second *a++
  19. will only be executed if a originally pointed to NULL.
  20.  
  21. >According to your definition, a program written in C, but containing a
  22. >bug, is suddenly not a C program. very funny, and as I said, philosophic.
  23.  
  24. If the "bug" is a violation of the rules that define what is valid C,
  25. do you still call it a C program? Exactly how many rules defining C
  26. would I have to break for your to no longer call it C?
  27.  
  28. >       //  fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer)
  29.  
  30. -- 
  31. Jason S Birch                        ,-_|\ email: jasonb@cs.uwa.edu.au
  32. Department of Computer Science      /     \ Tel (work): +61 9 380 1840
  33. The University of Western Australia *_.-._/ Fax (work): +61 9 380 1089
  34. Nedlands  W. Australia  6907             v  Tel (home): +61 9 386 8630
  35.