Re: busting sp datatypes
- From: nospam@xxxxxxxxxxxxx (Richard Maine)
- Date: Thu, 28 Aug 2008 13:15:55 -0700
glen herrmannsfeldt <gah@xxxxxxxxxxxxxxxx> wrote:
character*7 x(10)....
! without c_sizeof(), the 7 in the qsort call assumes
! no padding in the array. It works with g95, but I don't
! know if other compilers might add padding.
If they claim to conform to the standard, they better not. Derived types
are a different matter, but character is pretty much "tied down" in such
matters. Not worth digging out the citations.
--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
.
- References:
- Re: busting sp datatypes
- From: glen herrmannsfeldt
- Re: busting sp datatypes
- From: wim
- Re: busting sp datatypes
- From: Ron Ford
- Re: busting sp datatypes
- From: Ron Shepard
- Re: busting sp datatypes
- From: Richard Maine
- Re: busting sp datatypes
- From: glen herrmannsfeldt
- Re: busting sp datatypes
- From: LR
- Re: busting sp datatypes
- From: glen herrmannsfeldt
- Re: busting sp datatypes
- Prev by Date: Re: busting sp datatypes
- Next by Date: Re: Surprise
- Previous by thread: Re: busting sp datatypes
- Next by thread: Re: busting sp datatypes
- Index(es):
Relevant Pages
|