[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] Error compiling source file including <string
From: |
Volker Grabsch |
Subject: |
Re: [Mingw-cross-env-list] Error compiling source file including <string.h> |
Date: |
Tue, 12 Jan 2010 06:14:49 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Pierre-Henri Trivier <address@hidden> schrieb:
> I'm getting a very strange error with both the latest sources and the 2-10
> release. When I compile a file that includes <string>, I get this error :
You might want to share more information with us. For instance,
which package do you try to build? Does it use autoconf/automake?
What's your configure.in/ac? What operating system do you use?
> i686-pc-mingw32-g++ -DHAVE_CONFIG_H -I. -I../../../../../src/common -I../..
> -DSRCDIR=\"../../../../../src/common\" -DLUADIR=\"\" -Wall -Werror
> -I../../../../../src/common/../../include -I/usr/include -g -O2 -MT
> logging.o -MD -MP -MF .deps/logging.Tpo -c -o logging.o
> ../../../../../src/common/logging.cpp
From the little information you provided, all I can say is that
the option "-I/usr/include" should definitely not appear there.
Greets,
Volker
--
Volker Grabsch
---<<(())>>---
Administrator
NotJustHosting GbR