Error E2303 QColorQuantizer.h 53: Type name expected
Error E2139 QColorQuantizer.h 53: Declaration missing ;
Error E2293 QColorQuantizer.h 71: ) expected
Error E2293 QColorQuantizer.h 86: ) expected
Error E2293 QColorQuantizer.h 87: ) expected
Error E2293 QColorQuantizer.h 101: ) expected
Error E2303 QColorQuantizer.h 139: Type name expected
Error E2238 QColorQuantizer.h 139: Multiple declaration for 'QColorQuantizer::Bitmap'
Error E2344 QColorQuantizer.h 53: Earlier declaration of 'QColorQuantizer::Bitmap'
Error E2139 QColorQuantizer.h 139: Declaration missing ;
Error E2293 QColorQuantizer.h 140: ) expected
Error E2303 QColorQuantizer.h 142: Type name expected
Error E2139 QColorQuantizer.h 142: Declaration missing ;
Error E2303 QColorQuantizer.h 144: Type name expected
Error E2139 QColorQuantizer.h 144: Declaration missing ;
Error E2303 QColorQuantizer.h 147: Type name expected
Error E2139 QColorQuantizer.h 147: Declaration missing ;
Error E2451 QColorQuantizer.h 83: Undefined symbol 'm_pThread' in function QColorQuantizer::IsCalculating()
Error E2312 QColorQuantizer.cc 170: 'm_pMsgWnd' is not an unambiguous base class of 'QColorQuantizer' in function QColorQuantizer::QColorQ
uantizer()
Error E2312 QColorQuantizer.cc 172: 'm_pThread' is not an unambiguous base class of 'QColorQuantizer' in function QColorQuantizer::QColorQ
uantizer()
Error E2312 QColorQuantizer.cc 174: 'm_pSource' is not an unambiguous base class of 'QColorQuantizer' in function QColorQuantizer::QColorQ
uantizer()
Error E2451 QColorQuantizer.cc 183: Undefined symbol 'Image'
*** 22 errors in Compile ***
/*
* $Id: stdafx.h 9685 2012-09-16 05:42:35Z andijahja $
*/
////////////////////////////////////////////////////////////////////////////////
// $Workfile: stdafx.h $
// $Archive: /ZipArchive_STL/stdafx.h $
// $Date: 2012-09-16 07:42:35 +0200 (dom, 16 set 2012) $ $Author: andijahja $
////////////////////////////////////////////////////////////////////////////////
// This source file is part of the ZipArchive library source distribution and
// is Copyright 2000-2003 by Tadeusz Dracz (http://www.artpol-software.com/)
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// For the licensing details see the file License.txt
////////////////////////////////////////////////////////////////////////////////
#if ! defined( AFX_STDAFX_H__926F70F4_1B34_49AA_9532_498E8D2F3495__INCLUDED_ )
#define AFX_STDAFX_H__926F70F4_1B34_49AA_9532_498E8D2F3495__INCLUDED_
#if ( _MSC_VER < 1300 ) && ! defined ( __BORLANDC__ ) && ! defined ( __GNUC__ )
#define ZIPINLINE inline
#else
#define ZIPINLINE
#endif
#define ZIP_ARCHIVE_STL
#if _MSC_VER > 1000
#pragma once
//because of STL
#pragma warning (disable : 4710) // 'function' : function not inlined
#pragma warning (disable : 4514) // unreferenced inline/local function has been removed
#pragma warning (disable : 4786) // 'identifier' : identifier was truncated to 'number' characters in the debug information
#pragma warning( push, 3 ) // STL requrements
#if ( _MSC_VER >= 1400 )
#if ! defined( _CRT_SECURE_NO_WARNINGS )
#define _CRT_SECURE_NO_WARNINGS
#endif
#endif
#elif defined( __BORLANDC__ )
#pragma warn -8027
#pragma warn -8004
#endif // _MSC_VER > 1000
// some Windows typical definitions
#if defined ( _UNICODE ) && ! defined ( UNICODE )
#define UNICODE
#endif
#if defined ( UNICODE ) && ! defined ( _UNICODE )
#define _UNICODE
#endif
#ifndef _WIN32
#ifndef NULL
#define NULL 0
#endif
#include <ctype.h>
typedef int HFILE;
typedef void * HANDLE;
typedef unsigned long DWORD;
typedef long LONG;
typedef int BOOL;
typedef unsigned char BYTE;
typedef unsigned short WORD;
typedef unsigned int UINT;
#ifndef FALSE
#define FALSE ( int ) 0
#endif
#ifndef TRUE
#define TRUE ( int ) 1
#endif
typedef unsigned short WCHAR; // wc, 16-bit UNICODE character
typedef const WCHAR * LPCWSTR;
typedef const char * LPCSTR;
typedef WCHAR * LPWSTR;
typedef char * LPSTR;
#ifdef _UNICODE
typedef wchar_t TCHAR;
typedef LPCWSTR LPCTSTR;
typedef LPWSTR LPTSTR;
#define _T( x ) L##x
#else /* _UNICODE */ // r_winnt
typedef char TCHAR;
typedef LPCSTR LPCTSTR;
typedef LPSTR LPTSTR;
#define _T( x ) x
#endif /* _UNICODE */ // r_winnt
#else
#include <tchar.h>
#include <windows.h>
#ifndef STRICT
#define STRICT
#endif
#endif // #ifndef _WIN32
#ifndef ASSERT
#include <assert.h>
#define ASSERT( f ) assert( ( f ) )
#endif
#ifndef VERIFY
#ifdef _DEBUG
#define VERIFY( x ) ASSERT( ( x ) )
#else
#define VERIFY( x ) x
#endif
#endif
#ifndef TRACE
#define TRACE( m ) ( ( void ) 0 )
#endif
#if _MSC_VER >= 1300
#define ZIP_ULONGLONG ULONGLONG
#define ZIP_LONGLONG LONGLONG
#else
#define ZIP_ULONGLONG DWORD
#define ZIP_LONGLONG LONG
#endif
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__926F70F4_1B34_49AA_9532_498E8D2F3495__INCLUDED_)
#include "gdiplus.h"
using namespace Gdiplus;
#include "stdafx.h"
#include "QColorQuantizer.h"
void MakeQuantized(Image * pSource, Mode mode, CWnd * pMsgWnd, UINT nMaxColors = 256,
UINT message = QM_COLORQUANTIZER);
#define STRICT
#pragma option -w-hid
#include <Windows.h>
#include <Algorithm>
using std::min;
using std::max;
#include <GdiPlus.h>
#pragma option -whid
Warning W8022 c:\bcc7\include\windows\sdk\GdiplusHeaders.h 636: 'Bitmap::Clone(const Rect &,int)' hides virtual function 'Image::Clone()'
QColorQuantizer.cpp:
Error E2303 QColorQuantizer.h 71: Type name expected
Error E2303 QColorQuantizer.h 142: Type name expected
Error E2139 QColorQuantizer.h 142: Declaration missing ;
Error E2303 QColorQuantizer.h 147: Type name expected
Error E2139 QColorQuantizer.h 147: Declaration missing ;
Error E2451 QColorQuantizer.h 83: Undefined symbol 'm_pThread' in function QColorQuantizer::IsCalculating()
Error E2312 QColorQuantizer.cpp 43: 'm_pMsgWnd' is not an unambiguous base class of 'QColorQuantizer' in function QColorQuantizer::QColorQuantizer()
Error E2312 QColorQuantizer.cpp 45: 'm_pThread' is not an unambiguous base class of 'QColorQuantizer' in function QColorQuantizer::QColorQuantizer()
Error E2451 QColorQuantizer.cpp 56: Undefined symbol 'Image'
*** 9 errors in Compile ***
gdipluss.cpp:
Warning W8022 c:\bcc7\include\windows\sdk\GdiplusHeaders.h 636: 'Bitmap::Clone(const Rect &,int)' hides virtual function 'Image::Clone()'
tgdiplus.c:
prv2pdf.c:
* Linking errors *
mastintin wrote:clean a little more the code and I send to test two obj files.
mastintin wrote:You have the code in your email.
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 118 guests