Why is this structure misaligned?



DVF 5.0 through 6.1A never complained about the following structure being
misaligned. But with IVF 9.1 I do get this message. I can't see why,
though. Any suggestions? (I get it for several structures, all containing
only double precision variables). The compiler is set for 'Default' on
data alignment, and compiling under Windows Vista.

structure /GasComponent/
double precision N2
double precision O2
double precision CO2
double precision CH4
double precision SO2
double precision H2O
double precision Ash
end structure ! /GasComponent/

.



Relevant Pages

  • Re: Conformance
    ... They give a precision of approx 30 decimal digits ... This only increases the precision, not the range, and there are tricky ... Does your compiler pad qfloats to 512 bits or do your refer to ... qfloat s = 3.1415965358979323846264338327950288419Q; ...
    (comp.std.c)
  • Re: Numerical accuracy of C++ and Fortran programs on 32 bit machines
    ... ....snip prior discussion and example where average error of extension of ... > double precision constants 1.2D0 etc. (and at the moment this seems to ... > compiler should issue a warning, but in my opinion it should not be so ... The /fpconstant option requests that a single-precision constant ...
    (comp.programming)
  • Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
    ... it is a PITA for the programmer because it ... specific precision, then you need to be able to specify that to the compiler. ... when the compiler forced him to choose a data type. ...
    (comp.lang.basic.misc)
  • Re: Chipmunk Basic arrays (Attn: Ron Nicholson)
    ... get into hardware issues (and integer size, digits of precision, ... the creators of the compiler. ... it is a PITA for the programmer because ... having to choose a data type for _every_ variable ...
    (comp.lang.basic.misc)
  • Re: What is wrong with this code?
    ... Uh, yeah, for me on this compiler, just a warning, I think. ... ridiculous contortions to avoid using a pointer to an ARRAY. ... The use of a global struct is another unnecessary design flaw. ... the extra precision. ...
    (comp.lang.c)