Silent GCC4.0 warning

Jörn Engel joern at wohnheim.fh-wedel.de
Wed Sep 14 08:03:09 EDT 2005


On Wed, 14 September 2005 12:04:48 +0200, Marius Groeger wrote:
> 
> I know I'm quite religous here, and my point isn't really who's using
> something else than GCC today -- I grant you that this is quite unlikely.
> Experience shows however that you never know in what context you will have
> to reuse a specific piece of software, so if your write it portable in the
> first place, you're always safe.

My experience is that you cannot anticipate the problem coming up in
the future.  Next hardware revision will have unbelievable bugs, next
OS/compiler/etc. you port to just the same.

"if your write it portable in the first place" sounds nice, but noone
really knows what that means, before the acid test happens.


Back to the original topic, we really need to do something about the
warnings.  Most of them can be solved by using void* for the "just a
hunk of memory" type fields.

Jörn

-- 
To announce that there must be no criticism of the President, or that we
are to stand by the President, right or wrong, is not only unpatriotic
and servile, but is morally treasonable to the American public.
-- Theodore Roosevelt, Kansas City Star, 1918




More information about the linux-mtd mailing list