Re: GCC warnings when compiling with GEC

Colin Paul Adams <[email protected]>
Newsgroups gmane.comp.lang.eiffel.gobo.devel
Message-ID <[email protected]>
>> gestalt_test_driver49.c:1920: warning: initialization from incompatible pointer type

>Can you send me the C code of the corresponding function
>and indicate which line is #1920?

Line 1920 looks like this:


{0, 1912, EIF_FALSE, &T1912f40},


This is part of a huge static array:

EIF_TYPE GE_types[2384] = {


The other occurrences of the warning are all of the same pattern, for
instance:

{0, 174, EIF_FALSE, 0},
{0, 175, EIF_FALSE, &T175f12},

there is a warning generated for the second of the two above lines,
but not the first.
-- 
Eric Bezault
mailto:[email protected]
http://www.gobosoft.com


-- 
Colin Adams
Preston Lancashire

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.