|
컴파일하면요 51개정도 에러가 나고 멈춰버리네요;
Main.cpp 클래스에서 작업하다가 컴파일했는데 갑자기 저러네요; 작업한거 지우고 해봐도 똑같아요 에러가;;
/* Main.cpp 상단이구요 */
#include <vcl.h>
#pragma hdrstop
#include "Main.h"
#include "windows.h"
#include "dir.h"
#include "Opcodes.h"
#include "SocketProce.h"
#include "EasyEncrypt.h"
#include "fstream.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma link "IdCustomTCPServer"
#pragma resource "*.dfm"
#define VERSION 100257
/*Main.h 상단이에요 */
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include "IdCustomTCPServer.hpp"
#include <IdBaseComponent.hpp>
#include <IdComponent.hpp>
#include <IdTCPServer.hpp>
#include <IdCustomHTTPServer.hpp>
#include <IdHTTPServer.hpp>
#include <IdHTTP.hpp>
#include <IdTCPClient.hpp>
#include <IdTCPConnection.hpp>
에러보면 iosfwd 라고 뜨면서
// wchat_t TYPEDEFS
typedef basic_ios<wchar_t, char_traits<wchar_t> > wios;
typedef basic_streambuf<wchar_t, char_traits<wchar_t> >
wstreambuf;
typedef basic_istream<wchar_t, char_traits<wchar_t> > wistream;
typedef basic_ostream<wchar_t, char_traits<wchar_t> > wostream;
typedef basic_iostream<wchar_t, char_traits<wchar_t> > wiostream;
typedef basic_stringbuf<wchar_t, char_traits<wchar_t>,
ofstream<wchar_t> > wstringbuf;
allocator<wchar_t> > wstringbuf;
typedef basic_istringstream<wchar_t, char_traits<wchar_t>,
allocator<wchar_t> > wistringstream;
typedef basic_ostringstream<wchar_t, char_traits<wchar_t>,
allocator<wchar_t> > wostringstream;
typedef basic_stringstream<wchar_t, char_traits<wchar_t>,
allocator<wchar_t> > wstringstream; <<-- 이쪽이 문제라면서 뜨네요;;
typedef basic_filebuf<wchar_t, char_traits<wchar_t> > wfilebuf;
typedef basic_ifstream<wchar_t, char_traits<wchar_t> > wifstream;
typedef basic_ofstream<wchar_t, char_traits<wchar_t> > wofstream;
typedef basic_fstream<wchar_t, char_traits<wchar_t> > wfstream;
fstream.h를 빼고 하면 ofstream이랑 ifstream을 써야하는데 클래스 못찾는다고 에러나고;;
뭐 아무것도 모르겠으니 미치고 팔짝뛰겠어요;
//------------아래가 에러에요 ---------------//
빌드 시작: 2009-01-04 오후 3:12:30
__________________________________________________
"D:\My Documents\RAD Studio\LineageClient\LineageClient.cbproj" 프로젝트(Make개 대상):
MakeObjs 대상:
Skipping the following files because they are up-to-date: EasyEncrypt.cpp;SocketProce.cpp
BccCompile 대상:
c:\program files\codegear\rad studio\5.0\bin\bcc32.exe -D_DEBUG;NO_STRICT -D_RTLDLL;USEPACKAGES -I"c:\program files\codegear\rad studio\5.0\include";"c:\program files\codegear\rad studio\5.0\include\dinkumware";"c:\program files\codegear\rad studio\5.0\include\vcl";..\LineageClient;"c:\program files\codegear\rad studio\5.0\include\Indy10" -y -v -vi- -k -r- -c -tWM -tW -H=Debug\LineageClient.pch -Hr"vcl.h"="vcl2.h" -oDebug\Main.obj -w-par -Od Main.cpp
c:\program files\codegear\rad studio\5.0\include\dinkumware\iosfwd(536,10): Error error 2094: E2094 'operator<' not implemented in type 'ofstream' for arguments of type 'wchar_t'
c:\program files\codegear\rad studio\5.0\include\dinkumware\iosfwd(536,20): Error error 2040: E2040 Declaration terminated incorrectly
c:\program files\codegear\rad studio\5.0\include\dinkumware\iosfwd(537,21): Error error 2040: E2040 Declaration terminated incorrectly
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(345,26): Error error 2406: E2406 Dependent type qualifier 'bool' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(346,26): Error error 2406: E2406 Dependent type qualifier 'bool' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(347,26): Error error 2406: E2406 Dependent type qualifier 'bool' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(348,26): Error error 2406: E2406 Dependent type qualifier 'bool' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(349,26): Error error 2406: E2406 Dependent type qualifier 'bool' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(350,26): Error error 2406: E2406 Dependent type qualifier 'bool' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(377,45): Error error 2238: E2238 Multiple declaration for 'typename _Iter::iterator_category'
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(345,45): Error error 2344: E2344 Earlier declaration of 'typename _Iter::iterator_category'
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(345,26): Error error 2406: E2406 Dependent type qualifier 'char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(346,26): Error error 2406: E2406 Dependent type qualifier 'char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(347,26): Error error 2406: E2406 Dependent type qualifier 'char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(348,26): Error error 2406: E2406 Dependent type qualifier 'char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(349,26): Error error 2406: E2406 Dependent type qualifier 'char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(350,26): Error error 2406: E2406 Dependent type qualifier 'char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(345,26): Error error 2406: E2406 Dependent type qualifier 'signed char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(346,26): Error error 2406: E2406 Dependent type qualifier 'signed char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(347,26): Error error 2406: E2406 Dependent type qualifier 'signed char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(348,26): Error error 2406: E2406 Dependent type qualifier 'signed char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(349,26): Error error 2406: E2406 Dependent type qualifier 'signed char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(350,26): Error error 2406: E2406 Dependent type qualifier 'signed char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(345,26): Error error 2406: E2406 Dependent type qualifier 'unsigned char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(346,26): Error error 2406: E2406 Dependent type qualifier 'unsigned char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(347,26): Error error 2406: E2406 Dependent type qualifier 'unsigned char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(348,26): Error error 2406: E2406 Dependent type qualifier 'unsigned char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(349,26): Error error 2406: E2406 Dependent type qualifier 'unsigned char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(350,26): Error error 2406: E2406 Dependent type qualifier 'unsigned char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(345,26): Error error 2406: E2406 Dependent type qualifier 'wchar_t' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(346,26): Error error 2406: E2406 Dependent type qualifier 'wchar_t' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(347,26): Error error 2406: E2406 Dependent type qualifier 'wchar_t' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(348,26): Error error 2406: E2406 Dependent type qualifier 'wchar_t' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(349,26): Error error 2406: E2406 Dependent type qualifier 'wchar_t' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(350,26): Error error 2406: E2406 Dependent type qualifier 'wchar_t' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(345,26): Error error 2406: E2406 Dependent type qualifier 'short' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(346,26): Error error 2406: E2406 Dependent type qualifier 'short' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(347,26): Error error 2406: E2406 Dependent type qualifier 'short' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(348,26): Error error 2406: E2406 Dependent type qualifier 'short' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(349,26): Error error 2406: E2406 Dependent type qualifier 'short' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(350,26): Error error 2406: E2406 Dependent type qualifier 'short' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(345,26): Error error 2406: E2406 Dependent type qualifier 'unsigned short' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(346,26): Error error 2406: E2406 Dependent type qualifier 'unsigned short' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(347,26): Error error 2406: E2406 Dependent type qualifier 'unsigned short' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(348,26): Error error 2406: E2406 Dependent type qualifier 'unsigned short' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(349,26): Error error 2406: E2406 Dependent type qualifier 'unsigned short' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(350,26): Error error 2406: E2406 Dependent type qualifier 'unsigned short' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(345,26): Error error 2406: E2406 Dependent type qualifier 'int' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(346,26): Error error 2406: E2406 Dependent type qualifier 'int' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(347,26): Error error 2406: E2406 Dependent type qualifier 'int' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(347,26): Error error 2228: E2228 Too many error or warning messages
"LineageClient.cbproj" 프로젝트에 "BccCompile" 대상을 빌드했습니다(실패).
"LineageClient.cbproj" 프로젝트에 "MakeObjs" 대상을 빌드했습니다(실패).
"LineageClient.cbproj" 프로젝트를 빌드했습니다(실패).
빌드하지 못했습니다.
c:\program files\codegear\rad studio\5.0\include\dinkumware\iosfwd(536,10): Error error 2094: E2094 'operator<' not implemented in type 'ofstream' for arguments of type 'wchar_t'
c:\program files\codegear\rad studio\5.0\include\dinkumware\iosfwd(536,20): Error error 2040: E2040 Declaration terminated incorrectly
c:\program files\codegear\rad studio\5.0\include\dinkumware\iosfwd(537,21): Error error 2040: E2040 Declaration terminated incorrectly
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(345,26): Error error 2406: E2406 Dependent type qualifier 'bool' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(346,26): Error error 2406: E2406 Dependent type qualifier 'bool' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(347,26): Error error 2406: E2406 Dependent type qualifier 'bool' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(348,26): Error error 2406: E2406 Dependent type qualifier 'bool' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(349,26): Error error 2406: E2406 Dependent type qualifier 'bool' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(350,26): Error error 2406: E2406 Dependent type qualifier 'bool' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(377,45): Error error 2238: E2238 Multiple declaration for 'typename _Iter::iterator_category'
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(345,45): Error error 2344: E2344 Earlier declaration of 'typename _Iter::iterator_category'
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(345,26): Error error 2406: E2406 Dependent type qualifier 'char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(346,26): Error error 2406: E2406 Dependent type qualifier 'char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(347,26): Error error 2406: E2406 Dependent type qualifier 'char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(348,26): Error error 2406: E2406 Dependent type qualifier 'char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(349,26): Error error 2406: E2406 Dependent type qualifier 'char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(350,26): Error error 2406: E2406 Dependent type qualifier 'char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(345,26): Error error 2406: E2406 Dependent type qualifier 'signed char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(346,26): Error error 2406: E2406 Dependent type qualifier 'signed char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(347,26): Error error 2406: E2406 Dependent type qualifier 'signed char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(348,26): Error error 2406: E2406 Dependent type qualifier 'signed char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(349,26): Error error 2406: E2406 Dependent type qualifier 'signed char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(350,26): Error error 2406: E2406 Dependent type qualifier 'signed char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(345,26): Error error 2406: E2406 Dependent type qualifier 'unsigned char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(346,26): Error error 2406: E2406 Dependent type qualifier 'unsigned char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(347,26): Error error 2406: E2406 Dependent type qualifier 'unsigned char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(348,26): Error error 2406: E2406 Dependent type qualifier 'unsigned char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(349,26): Error error 2406: E2406 Dependent type qualifier 'unsigned char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(350,26): Error error 2406: E2406 Dependent type qualifier 'unsigned char' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(345,26): Error error 2406: E2406 Dependent type qualifier 'wchar_t' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(346,26): Error error 2406: E2406 Dependent type qualifier 'wchar_t' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(347,26): Error error 2406: E2406 Dependent type qualifier 'wchar_t' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(348,26): Error error 2406: E2406 Dependent type qualifier 'wchar_t' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(349,26): Error error 2406: E2406 Dependent type qualifier 'wchar_t' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(350,26): Error error 2406: E2406 Dependent type qualifier 'wchar_t' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(345,26): Error error 2406: E2406 Dependent type qualifier 'short' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(346,26): Error error 2406: E2406 Dependent type qualifier 'short' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(347,26): Error error 2406: E2406 Dependent type qualifier 'short' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(348,26): Error error 2406: E2406 Dependent type qualifier 'short' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(349,26): Error error 2406: E2406 Dependent type qualifier 'short' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(350,26): Error error 2406: E2406 Dependent type qualifier 'short' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(345,26): Error error 2406: E2406 Dependent type qualifier 'unsigned short' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(346,26): Error error 2406: E2406 Dependent type qualifier 'unsigned short' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(347,26): Error error 2406: E2406 Dependent type qualifier 'unsigned short' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(348,26): Error error 2406: E2406 Dependent type qualifier 'unsigned short' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(349,26): Error error 2406: E2406 Dependent type qualifier 'unsigned short' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(350,26): Error error 2406: E2406 Dependent type qualifier 'unsigned short' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(345,26): Error error 2406: E2406 Dependent type qualifier 'int' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(346,26): Error error 2406: E2406 Dependent type qualifier 'int' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(347,26): Error error 2406: E2406 Dependent type qualifier 'int' is not a class or struct type
c:\program files\codegear\rad studio\5.0\include\dinkumware\xutility(347,26): Error error 2228: E2228 Too many error or warning messages
경고 0개
오류 51개
경과 시간: 00:00:05.09
|