|
[ ghc-Bugs-775969 ] warning: implicit declaration of function foo: msg#00060lang.haskell.glasgow.bugs
Bugs item #775969, was opened at 2003-07-22 16:17 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=775969&group_id=8032 Category: Compiler (FFI) Group: 6.0 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: warning: implicit declaration of function foo Initial Comment: Hi, when I compile a simple program with a function imported from C using -fffi -O, I get the following: warning: implicit declaration of function 'foo' the imported function simply returns its argument multiplied by two. if I compile it without -O option, everything is fine, but with the -O option it gives the warning and when I run the program it gives the wrong result ( 1.0 for any number) Thanks. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=775969&group_id=8032
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-763085 ] The impossible happened, SourceForge.net |
|---|---|
| Next by Date: | [ ghc-Bugs-775969 ] warning: implicit declaration of function foo, SourceForge.net |
| Previous by Thread: | [ ghc-Bugs-763085 ] The impossible happened, SourceForge.net |
| Next by Thread: | [ ghc-Bugs-775969 ] warning: implicit declaration of function foo, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |