[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unable to build
From: |
Ulrich Eckhardt |
Subject: |
Re: unable to build |
Date: |
Tue, 10 Aug 2004 19:32:07 +0200 |
User-agent: |
KNode/0.7.7 |
Edo wrote:
> #include <iostream>
> #include "SpatialIndex.h"
> using namespace std;
>
> int main()
> {
>
> cout << "keep on going " << endl;
> cin.sync(); getchar(); return 0;
> return 0;
> }
1. badly indented.
2. mixing stdio and IOStreams.
3. redundant statements.
*sigh*
> Compiler: Default compiler
> Building Makefile: "C:\IBMDRV\C++\work\proj1\Makefile.win"
> Finding dependencies for file: C:\IBMDRV\C++\work\proj1\main.cpp
> Executing make...
> make.exe -f "C:\IBMDRV\C++\work\proj1\Makefile.win" all
> C:\IBMDRV\C++\work\proj1\Makefile.win:28: *** multiple target patterns.
> Stop.
OK, if you tell me where it calls g++ and that fails, I will help you with
whatever problem that is.
> # Makefile created by Dev-C++ 4.9.9.0
*hint,hint*
> CPP = g++.exe -D__DEBUG__
> CC = gcc.exe -D__DEBUG__
OMG, was that you or devc++ that added these defines?
Uli
--
http://gcc.gnu.org/faq.html
http://parashift.com/c++-faq-lite/