Re: GCC warnings when compiling with GEC

Colin Paul Adams <[email protected]>
Newsgroups gmane.comp.lang.eiffel.gobo.devel
Message-ID <[email protected]>
>>>>> "Eric" == Eric Bezault <[email protected]> writes:

    Eric> Eric Bezault wrote:
    >> Colin Paul Adams wrote:
>> Can you do anything to stop these warning messages:
    >>> 
    >>> gestalt_test_driver31.c:3409: warning: passing argument 1 of
    >>> GE_check_void' discards qualifiers from pointer target type
    >>> 
    >>> I get a lot of them.

    Eric> I added the type casts. Can you try to recompile gec and
    Eric> give it a try?

That is a great improvement.

Now I just get one warning (repeated about a dozen times) in one C file:

gestalt_test_driver49.c:1920: warning: initialization from incompatible pointer type

-- 
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.