Re: GCC warnings when compiling with GEC
Eric Bezault <[email protected]>
| Newsgroups | gmane.comp.lang.eiffel.gobo.devel |
|---|---|
| Message-ID | <[email protected]> |
Colin Paul Adams wrote: >>>>>> "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 Can you send me the C code of the corresponding function and indicate which line is #1920? -- Eric Bezault mailto:[email protected] http://www.gobosoft.com ------------------------------------------------------------------------- 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/