lkml.org 
[lkml]   [1998]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Volatile magic
Date
> No, it's perfectly correct.  GCC 2.8 uses intmax_t for all computations in
> the preprocessor, which is long long with glibc 2.1. This is required by
> the standard. You simply cannot use the preprocessor to find the size of
> a C type.

Having the cross compiler produce different code to the native compiler
for the same input is a bug regardless of the compiler. If the cross compiler
generates different code to the native compiler then its unsuitable for
use in a serious software project where things like duplicating results
and correctness matter.

Alan


\
 
 \ /
  Last update: 2005-03-22 13:41    [W:1.755 / U:4.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site