From: SourceForge.net <no...@so...> - 2009-03-27 10:28:21
|
Bugs item #2716688, was opened at 2009-03-27 05:28 Message generated for change (Tracker Item Submitted) made by jpmague You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=2716688&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: gcc Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: jpmague (jpmague) Assigned to: Nobody/Anonymous (nobody) Summary: unexpected conflicting types error Initial Comment: I use the Ubuntu version og minGW gcc to cross compile. Here is the output of "i586-mingw32msvc-gcc bug.c" : bug.c:4: error: conflicting types for ‘f’ bug.h:1: error: previous declaration of ‘f’ was here Here is the output of "i586-mingw32msvc-gcc -v bug.c" : Using built-in specs. Target: i586-mingw32msvc Configured with: /build/buildd/mingw32-4.2.1.dfsg/build_dir/src/gcc-4.2.1-2-dfsg/configure -v --prefix=/usr --target=i586-mingw32msvc --enable-languages=c,c++ --enable-threads --enable-sjlj-exceptions --disable-multilib --enable-version-specific-runtime-libs Thread model: win32 gcc version 4.2.1-sjlj (mingw32-2) /usr/libexec/gcc/i586-mingw32msvc/4.2.1-sjlj/cc1 -quiet -v bug.c -quiet -dumpbase bug.c -mtune=pentium -auxbase bug -version -o /tmp/ccWZc9YG.s ignoring nonexistent directory "/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/sys-include" #include "..." search starts here: #include <...> search starts here: /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/include /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include End of search list. GNU C version 4.2.1-sjlj (mingw32-2) (i586-mingw32msvc) compiled by GNU C version 4.2.3 20071210 (prerelease) (Ubuntu 4.2.2-4ubuntu2). GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 9f7339889766358351a8c487565f111d bug.c:4: error: conflicting types for ‘f’ bug.h:1: error: previous declaration of ‘f’ was here ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=2716688&group_id=2435 |