------- Additional Comments From jeff at connectrf dot com  2005-01-11 19:24 
-------
Andrew, let me try again.  BTW I have looked at the man pages for both gcc and
ld, I must say they are clear as mud, but then most are.

If I take the defaults, in CDT, I receive the errors attached below.  If I add
the options -fpreprocessed and -M as miscellaneous options, as I found in the
man pages,  the files compile without issue, but gcc does not create the proper
object files for linking.

So what gcc options would be required for forward declarations and standard
#include's?

Here is the makefile...
################################################################################
# Automatically-generated file. Do not edit!
################################################################################

ROOT := ..

-include $(ROOT)/makefile.init

RM := rm -rf

# All of the sources participating in the build are defined here
-include sources.mk
-include $(SUBDIRS:%=%/subdir.mk)
-include objects.mk
-include $(DEPS)
-include $(ROOT)/makefile.defs

all: Auth.exe

Auth.exe: $(OBJS)
        @echo 'Building target: $@'
        g++  -o $@ $(OBJS) $(USER_OBJS) $(LIBS)
        @echo 'Finished building: $@'

clean:
        -$(RM) $(OBJS) $(DEPS) Auth.exe

.PHONY: all clean dependents

-include $(ROOT)/makefile.targets



**** Full rebuild of configuration Release for project Auth ****

make -k clean all 
rm -rf     authtest.o authtestdlg.o stdafx.o       authtest.d authtestdlg.d
stdafx.d   Auth.exe
Building file: ../authtest.cpp
g++ -IC:\Documents and Settings\jeff\Desktop\AuthTest\include -O3 -Wall -c
-fmessage-length=0 -oauthtest.o ../authtest.cpp
In file included from ../authtest.cpp:4:
../AuthTest.h:4:9: warning: #pragma once is obsolete
../AuthTest.h:7:10: #error include 'stdafx.h' before including this file for PCH
In file included from ../authtest.cpp:4:
../AuthTest.h:18: error: parse error before `{' token
../AuthTest.h:29: error: ISO C++ forbids declaration of `DECLARE_MESSAGE_MAP'
with no type
../AuthTest.h: In function `int DECLARE_MESSAGE_MAP()':
../AuthTest.h:29: error: parse error before `}' token
../AuthTest.h:31:28: warning: no newline at end of file
In file included from ../authtest.cpp:5:
../AuthTestDlg.h:9: error: parse error before `{' token
../AuthTestDlg.h:17: error: parse error before `protected'
../AuthTestDlg.h:26: error: syntax error before `(' token
../AuthTestDlg.h:27: error: syntax error before `void'
../AuthTestDlg.h:28: error: syntax error before `void'
../AuthTestDlg.h:29: error: parse error before `(' token
../AuthTestDlg.h:31: error: ISO C++ forbids declaration of `DECLARE_MESSAGE_MAP'
with no type
../AuthTestDlg.h: In function `int DECLARE_MESSAGE_MAP()':
../AuthTestDlg.h:31: error: redefinition of `int DECLARE_MESSAGE_MAP()'
../AuthTest.h:29: error: `int DECLARE_MESSAGE_MAP()' previously defined here
../AuthTestDlg.h:31: error: redefinition of `int DECLARE_MESSAGE_MAP()'
../AuthTest.h:29: error: `int DECLARE_MESSAGE_MAP()' previously defined here
../AuthTestDlg.h:31: error: parse error before `public'
../AuthTestDlg.h:33: error: 'CString' is used as a type, but is not defined as a
type.
../AuthTestDlg.h:35: error: 'CString' is used as a type, but is not defined as a
type.
../AuthTestDlg.h:37: error: 'BOOL' is used as a type, but is not defined as a 
type.
../AuthTestDlg.h:41: error: 'BOOL' is used as a type, but is not defined as a 
type.
../AuthTestDlg.h:42: error: 'BOOL' is used as a type, but is not defined as a 
type.
../AuthTestDlg.h:43: error: syntax error before `void'
../AuthTestDlg.h:44: error: 'CString' is used as a type, but is not defined as a
type.
../AuthTestDlg.h:45: error: parse error before `}' token
../authtest.cpp:14: error: type specifier omitted for parameter `CWinApp'
../authtest.cpp:15: error: ISO C++ forbids declaration of `BEGIN_MESSAGE_MAP'
with no type
../authtest.cpp: In function `int BEGIN_MESSAGE_MAP(CAuthTestApp)':
../authtest.cpp:15: error: `<anonymous>' has incomplete type
../AuthTest.h:17: error: forward declaration of `class CAuthTestApp'
../authtest.cpp:15: error: parse error before `(' token
../authtest.cpp:15: error: `ID_HELP' undeclared (first use this function)
../authtest.cpp:15: error: (Each undeclared identifier is reported only once for
each function it appears in.)
../authtest.cpp:15: error: `CWinApp' undeclared (first use this function)
../authtest.cpp:15: error: parse error before `::' token
../authtest.cpp:16: error: ISO C++ forbids declaration of `ON_COMMAND' with no 
type
../authtest.cpp: In function `int ON_COMMAND(...)':
../authtest.cpp:21: error: ISO C++ forbids declaration of `END_MESSAGE_MAP' with
no type
../authtest.cpp: In function `int END_MESSAGE_MAP()':
../authtest.cpp:22: error: invalid use of undefined type `class CAuthTestApp'
../AuthTest.h:17: error: forward declaration of `class CAuthTestApp'
../authtest.cpp: In constructor `CAuthTestApp::CAuthTestApp()':
../authtest.cpp:30: error: aggregate `CAuthTestApp theApp' has incomplete type
and cannot be defined
../authtest.cpp:35: error: syntax error before `::' token
../authtest.cpp:42: error: syntax error before `::' token
../authtest.cpp:51: error: `_T' undeclared (first use this function)
../authtest.cpp:51: error: ISO C++ forbids declaration of `SetRegistryKey' with
no type
../authtest.cpp:51: confused by earlier errors, bailing out
make: *** [authtest.o] Error 1
Building file: ../authtestdlg.cpp
g++ -IC:\Documents and Settings\jeff\Desktop\AuthTest\include -O3 -Wall -c
-fmessage-length=0 -oauthtestdlg.o ../authtestdlg.cpp
In file included from ../authtestdlg.cpp:3:
../AuthTest.h:4:9: warning: #pragma once is obsolete
../AuthTest.h:7:10: #error include 'stdafx.h' before including this file for PCH
In file included from ../authtestdlg.cpp:3:
../AuthTest.h:18: error: parse error before `{' token
../AuthTest.h:29: error: ISO C++ forbids declaration of `DECLARE_MESSAGE_MAP'
with no type
../AuthTest.h: In function `int DECLARE_MESSAGE_MAP()':
../AuthTest.h:29: error: parse error before `}' token
../AuthTest.h:31:28: warning: no newline at end of file
In file included from ../authtestdlg.cpp:4:
../AuthTestDlg.h:9: error: parse error before `{' token
../AuthTestDlg.h:17: error: parse error before `protected'
../AuthTestDlg.h:26: error: syntax error before `(' token
../AuthTestDlg.h:27: error: syntax error before `void'
../AuthTestDlg.h:28: error: syntax error before `void'
../AuthTestDlg.h:29: error: parse error before `(' token
../AuthTestDlg.h:31: error: ISO C++ forbids declaration of `DECLARE_MESSAGE_MAP'
with no type
../AuthTestDlg.h: In function `int DECLARE_MESSAGE_MAP()':
../AuthTestDlg.h:31: error: redefinition of `int DECLARE_MESSAGE_MAP()'
../AuthTest.h:29: error: `int DECLARE_MESSAGE_MAP()' previously defined here
../AuthTestDlg.h:31: error: redefinition of `int DECLARE_MESSAGE_MAP()'
../AuthTest.h:29: error: `int DECLARE_MESSAGE_MAP()' previously defined here
../AuthTestDlg.h:31: error: parse error before `public'
../AuthTestDlg.h:33: error: 'CString' is used as a type, but is not defined as a
type.
../AuthTestDlg.h:35: error: 'CString' is used as a type, but is not defined as a
type.
../AuthTestDlg.h:37: error: 'BOOL' is used as a type, but is not defined as a 
type.
../AuthTestDlg.h:41: error: 'BOOL' is used as a type, but is not defined as a 
type.
../AuthTestDlg.h:42: error: 'BOOL' is used as a type, but is not defined as a 
type.
../AuthTestDlg.h:43: error: syntax error before `void'
../AuthTestDlg.h:44: error: 'CString' is used as a type, but is not defined as a
type.
../AuthTestDlg.h:45: error: parse error before `}' token
In file included from ../authtestdlg.cpp:5:
../authtestdlg.h:8: error: declaration of `class
DECLARE_MESSAGE_MAP()::CAuthTestDlg' in `int DECLARE_MESSAGE_MAP()' which does
not enclose `int DECLARE_MESSAGE_MAP()'
../authtestdlg.h:9: error: parse error before `{' token
../authtestdlg.h:17: error: parse error before `protected'
../authtestdlg.h:26: error: syntax error before `(' token
../authtestdlg.h:27: error: syntax error before `void'
../authtestdlg.h:28: error: syntax error before `void'
../authtestdlg.h:29: error: parse error before `(' token
../authtestdlg.h:31: error: ISO C++ forbids declaration of `DECLARE_MESSAGE_MAP'
with no type
../authtestdlg.h: In function `int DECLARE_MESSAGE_MAP()':
../authtestdlg.h:31: error: redefinition of `int DECLARE_MESSAGE_MAP()'
../AuthTestDlg.h:31: error: `int DECLARE_MESSAGE_MAP()' previously defined here
../authtestdlg.h:31: error: redefinition of `int DECLARE_MESSAGE_MAP()'
../AuthTestDlg.h:31: error: `int DECLARE_MESSAGE_MAP()' previously defined here
../authtestdlg.h:31: error: redefinition of `int DECLARE_MESSAGE_MAP()'
../AuthTest.h:29: error: `int DECLARE_MESSAGE_MAP()' previously defined here
../authtestdlg.h:31: error: parse error before `public'
../authtestdlg.h:33: error: 'CString' is used as a type, but is not defined as a
type.
../authtestdlg.h:34: error: redefinition of `int m_Product'
../AuthTestDlg.h:34: error: `int m_Product' previously declared here
../authtestdlg.h:35: error: 'CString' is used as a type, but is not defined as a
type.
../authtestdlg.h:36: error: redefinition of `int m_Vendor'
../AuthTestDlg.h:36: error: `int m_Vendor' previously declared here
../authtestdlg.h:37: error: 'BOOL' is used as a type, but is not defined as a 
type.
../authtestdlg.h:38: error: redefinition of `int m_Year'
../AuthTestDlg.h:38: error: `int m_Year' previously declared here
../authtestdlg.h:39: error: redefinition of `int m_Quarter'
../AuthTestDlg.h:39: error: `int m_Quarter' previously declared here
../authtestdlg.h:40: error: redefinition of `int m_Terminals'
../AuthTestDlg.h:40: error: `int m_Terminals' previously declared here
../authtestdlg.h:41: error: 'BOOL' is used as a type, but is not defined as a 
type.
../authtestdlg.h:42: error: 'BOOL' is used as a type, but is not defined as a 
type.
../authtestdlg.h:43: error: syntax error before `void'
../authtestdlg.h:44: error: 'CString' is used as a type, but is not defined as a
type.
../authtestdlg.h:45: error: parse error before `}' token
In file included from ../authtestdlg.cpp:6:
../idmach02.h:51: error: non-local function `void
id_set_info_2(DECLARE_MESSAGE_MAP()::id2_info*)' uses local type
`DECLARE_MESSAGE_MAP()::id2_info'
../idmach02.h:52: error: non-local function `void
id_get_info_2(DECLARE_MESSAGE_MAP()::id2_info*)' uses local type
`DECLARE_MESSAGE_MAP()::id2_info'
../idmach02.h:68: error: non-local function `int id_approve2(char*, char*, int*,
int, int, int*, DECLARE_MESSAGE_MAP()::id2_info*)' uses local type
`DECLARE_MESSAGE_MAP()::id2_info'
../idmach02.h:69: error: non-local function `int get_authorize2(int*, int, int,
int*, DECLARE_MESSAGE_MAP()::id2_info*)' uses local type
`DECLARE_MESSAGE_MAP()::id2_info'
../authtestdlg.cpp:8: error: non-local function `int id_test2(char*,
DECLARE_MESSAGE_MAP()::id2_info*)' uses local type 
`DECLARE_MESSAGE_MAP()::id2_info'
../authtestdlg.cpp:18: error: parse error before `{' token
../authtestdlg.cpp:25: error: parse error before `protected'
../authtestdlg.cpp:33: error: invalid use of undefined type `class
DECLARE_MESSAGE_MAP()::CAboutDlg'
../authtestdlg.cpp:17: error: forward declaration of `class
DECLARE_MESSAGE_MAP()::CAboutDlg'
../authtestdlg.cpp: In constructor 
`DECLARE_MESSAGE_MAP()::CAboutDlg::CAboutDlg()':
../authtestdlg.cpp:33: error: class `DECLARE_MESSAGE_MAP()::CAboutDlg' does not
have any field named `CDialog'
../authtestdlg.cpp:33: error: incomplete type `DECLARE_MESSAGE_MAP()::CAboutDlg'
does not have member `IDD'
../authtestdlg.cpp:37: error: `CDataExchange' undeclared (first use this 
function)
../authtestdlg.cpp:37: error: (Each undeclared identifier is reported only once
for each function it appears in.)
../authtestdlg.cpp:37: error: `pDX' undeclared (first use this function)
../authtestdlg.cpp:38: error: invalid use of undefined type `class
DECLARE_MESSAGE_MAP()::CAboutDlg'
../authtestdlg.cpp:17: error: forward declaration of `class
DECLARE_MESSAGE_MAP()::CAboutDlg'
../authtestdlg.cpp:38: error: invalid declarator
../authtestdlg.cpp:38: error: syntax error before `{' token
../authtestdlg.cpp:42: error: type specifier omitted for parameter `CDialog'
../authtestdlg.cpp:43: error: ISO C++ forbids declaration of `BEGIN_MESSAGE_MAP'
with no type
../authtestdlg.cpp:43: error: non-local function `int
BEGIN_MESSAGE_MAP(DECLARE_MESSAGE_MAP()::CAboutDlg)' uses local type
`DECLARE_MESSAGE_MAP()::CAboutDlg'
../authtestdlg.cpp: In function `int
BEGIN_MESSAGE_MAP(DECLARE_MESSAGE_MAP()::CAboutDlg)':
../authtestdlg.cpp:43: error: `<anonymous>' has incomplete type
../authtestdlg.cpp:17: error: forward declaration of `class
DECLARE_MESSAGE_MAP()::CAboutDlg'
../authtestdlg.cpp:43: error: parse error before `(' token
../authtestdlg.cpp:50: error: ISO C++ forbids declaration of `END_MESSAGE_MAP'
with no type
../authtestdlg.cpp: In function `int END_MESSAGE_MAP()':
../authtestdlg.cpp:50: error: `CWnd' undeclared (first use this function)
../authtestdlg.cpp:50: error: `pParent' undeclared (first use this function)
../authtestdlg.cpp:51: error: invalid use of undefined type `class
DECLARE_MESSAGE_MAP()::CAuthTestDlg'
../AuthTestDlg.h:8: error: forward declaration of `class
DECLARE_MESSAGE_MAP()::CAuthTestDlg'
../authtestdlg.cpp:51: error: invalid declarator
../authtestdlg.cpp:51: error: syntax error before `:' token
../authtestdlg.cpp:69: error: invalid use of undefined type `class
DECLARE_MESSAGE_MAP()::CAuthTestDlg'
../AuthTestDlg.h:8: error: forward declaration of `class
DECLARE_MESSAGE_MAP()::CAuthTestDlg'
../authtestdlg.cpp:69: error: invalid declarator
../authtestdlg.cpp:69: error: syntax error before `{' token
../authtestdlg.cpp:71: error: `m_AuthCode' undeclared (first use this function)
../authtestdlg.cpp:71: error: ISO C++ forbids declaration of `DDX_Text' with no 
type
../authtestdlg.cpp:71: error: initializer list being treated as compound 
expression
../authtestdlg.cpp:72: error: `m_MachineId' undeclared (first use this function)
../authtestdlg.cpp:72: error: ISO C++ forbids declaration of `DDX_Text' with no 
type
../authtestdlg.cpp:72: error: redefinition of `int DDX_Text'
../authtestdlg.cpp:71: error: `int DDX_Text' previously defined here
../authtestdlg.cpp:72: error: initializer list being treated as compound 
expression
../authtestdlg.cpp:73: error: ISO C++ forbids declaration of `DDX_CBIndex' with
no type
../authtestdlg.cpp:73: error: initializer list being treated as compound 
expression
../authtestdlg.cpp:74: error: `m_Version' undeclared (first use this function)
../authtestdlg.cpp:74: error: ISO C++ forbids declaration of `DDX_Text' with no 
type
../authtestdlg.cpp:74: error: redefinition of `int DDX_Text'
../authtestdlg.cpp:72: error: `int DDX_Text' previously defined here
../authtestdlg.cpp:74: error: initializer list being treated as compound 
expression
../authtestdlg.cpp:75: error: ISO C++ forbids declaration of `DDX_CBIndex' with
no type
../authtestdlg.cpp:75: error: redefinition of `int DDX_CBIndex'
../authtestdlg.cpp:73: error: `int DDX_CBIndex' previously defined here
../authtestdlg.cpp:75: error: initializer list being treated as compound 
expression
../authtestdlg.cpp:76: error: `m_Expires' undeclared (first use this function)
../authtestdlg.cpp:76: error: ISO C++ forbids declaration of `DDX_Check' with no
type
../authtestdlg.cpp:76: error: initializer list being treated as compound 
expression
../authtestdlg.cpp:77: error: ISO C++ forbids declaration of `DDX_CBIndex' with
no type
../authtestdlg.cpp:77: error: redefinition of `int DDX_CBIndex'
../authtestdlg.cpp:75: error: `int DDX_CBIndex' previously defined here
../authtestdlg.cpp:77: error: initializer list being treated as compound 
expression
../authtestdlg.cpp:78: error: ISO C++ forbids declaration of `DDX_CBIndex' with
no type
../authtestdlg.cpp:78: error: redefinition of `int DDX_CBIndex'
../authtestdlg.cpp:77: error: `int DDX_CBIndex' previously defined here
../authtestdlg.cpp:78: error: initializer list being treated as compound 
expression
../authtestdlg.cpp:79: error: ISO C++ forbids declaration of `DDX_Text' with no 
type
../authtestdlg.cpp:79: error: redefinition of `int DDX_Text'
../authtestdlg.cpp:74: error: `int DDX_Text' previously defined here
../authtestdlg.cpp:79: error: initializer list being treated as compound 
expression
../authtestdlg.cpp:80: error: `m_Formatter' undeclared (first use this function)
../authtestdlg.cpp:80: error: ISO C++ forbids declaration of `DDX_Check' with no
type
../authtestdlg.cpp:80: error: redefinition of `int DDX_Check'
../authtestdlg.cpp:76: error: `int DDX_Check' previously defined here
../authtestdlg.cpp:80: error: initializer list being treated as compound 
expression
../authtestdlg.cpp:81: error: `m_Plus' undeclared (first use this function)
../authtestdlg.cpp:81: error: ISO C++ forbids declaration of `DDX_Check' with no
type
../authtestdlg.cpp:81: error: redefinition of `int DDX_Check'
../authtestdlg.cpp:80: error: `int DDX_Check' previously defined here
../authtestdlg.cpp:81: error: initializer list being treated as compound 
expression
../authtestdlg.cpp:82: error: `m_Valid' undeclared (first use this function)
../authtestdlg.cpp:82: error: ISO C++ forbids declaration of `DDX_Text' with no 
type
../authtestdlg.cpp:82: error: redefinition of `int DDX_Text'
../authtestdlg.cpp:79: error: `int DDX_Text' previously defined here
../authtestdlg.cpp:82: error: initializer list being treated as compound 
expression
../authtestdlg.cpp:83: error: parse error before `}' token
../authtestdlg.cpp:85: error: type specifier omitted for parameter `CDialog'
../authtestdlg.cpp:86: error: ISO C++ forbids declaration of `BEGIN_MESSAGE_MAP'
with no type
../authtestdlg.cpp:86: error: non-local function `int
BEGIN_MESSAGE_MAP(DECLARE_MESSAGE_MAP()::CAuthTestDlg)' uses local type
`DECLARE_MESSAGE_MAP()::CAuthTestDlg'
../authtestdlg.cpp: In function `int
BEGIN_MESSAGE_MAP(DECLARE_MESSAGE_MAP()::CAuthTestDlg)':
../authtestdlg.cpp:86: error: `<anonymous>' has incomplete type
../AuthTestDlg.h:8: error: forward declaration of `class
DECLARE_MESSAGE_MAP()::CAuthTestDlg'
../authtestdlg.cpp:86: error: parse error before `(' token
../authtestdlg.cpp:87: error: ISO C++ forbids declaration of `ON_WM_SYSCOMMAND'
with no type
../authtestdlg.cpp: In function `int ON_WM_SYSCOMMAND()':
../authtestdlg.cpp:88: error: ISO C++ forbids declaration of `ON_WM_PAINT' with
no type
../authtestdlg.cpp: In function `int ON_WM_PAINT()':
../authtestdlg.cpp:90: error: ISO C++ forbids declaration of
`ON_WM_QUERYDRAGICON' with no type
../authtestdlg.cpp: In function `int ON_WM_QUERYDRAGICON()':
../authtestdlg.cpp:90: error: `OnBnClickedTest' undeclared (first use this 
function)
../authtestdlg.cpp:91: error: ISO C++ forbids declaration of `ON_BN_CLICKED'
with no type
../authtestdlg.cpp:91: error: initializer list being treated as compound 
expression
../authtestdlg.cpp:91: error: syntax error before `(' token
../authtestdlg.cpp:103: error: ISO C++ forbids declaration of `ASSERT' with no 
type
../authtestdlg.cpp:104: error: ISO C++ forbids declaration of `ASSERT' with no 
type
../authtestdlg.cpp:104: error: redefinition of `int ASSERT'
../authtestdlg.cpp:103: error: `int ASSERT' previously defined here
../authtestdlg.cpp:106: error: syntax error before `*' token
../authtestdlg.cpp:110: error: syntax error before `.' token
../authtestdlg.cpp:114: error: syntax error before `->' token
../authtestdlg.cpp:120: error: `m_hIcon' undeclared (first use this function)
../authtestdlg.cpp:120: error: `TRUE' undeclared (first use this function)
../authtestdlg.cpp:120: error: ISO C++ forbids declaration of `SetIcon' with no 
type
../authtestdlg.cpp:120: error: initializer list being treated as compound 
expression
../authtestdlg.cpp:121: error: `FALSE' undeclared (first use this function)
../authtestdlg.cpp:121: error: ISO C++ forbids declaration of `SetIcon' with no 
type
../authtestdlg.cpp:121: error: redefinition of `int SetIcon'
../authtestdlg.cpp:120: error: `int SetIcon' previously defined here
../authtestdlg.cpp:121: error: initializer list being treated as compound 
expression
../authtestdlg.cpp:125: error: parse error before `return'
../authtestdlg.cpp:128: error: `UINT' undeclared (first use this function)
../authtestdlg.cpp:128: error: parse error before `,' token
../authtestdlg.cpp:129: error: invalid use of undefined type `class
DECLARE_MESSAGE_MAP()::CAuthTestDlg'
../AuthTestDlg.h:8: error: forward declaration of `class
DECLARE_MESSAGE_MAP()::CAuthTestDlg'
../authtestdlg.cpp: In member function `void
DECLARE_MESSAGE_MAP()::CAuthTestDlg::OnSysCommand(...)':
../authtestdlg.cpp:130: error: `nID' undeclared (first use this function)
../authtestdlg.cpp:132: error: aggregate `DECLARE_MESSAGE_MAP()::CAboutDlg
dlgAbout' has incomplete type and cannot be defined
../authtestdlg.cpp:137: error: `CDialog' undeclared (first use this function)
../authtestdlg.cpp:137: error: parse error before `::' token
../authtestdlg.cpp:146: error: invalid use of undefined type `class
DECLARE_MESSAGE_MAP()::CAuthTestDlg'
../AuthTestDlg.h:8: error: forward declaration of `class
DECLARE_MESSAGE_MAP()::CAuthTestDlg'
../authtestdlg.cpp: In member function `void
DECLARE_MESSAGE_MAP()::CAuthTestDlg::OnPaint()':
../authtestdlg.cpp:147: error: `IsIconic' undeclared (first use this function)
../authtestdlg.cpp:149: error: `CPaintDC' undeclared (first use this function)
../authtestdlg.cpp:149: error: parse error before `(' token
../authtestdlg.cpp:151: error: `WM_ICONERASEBKGND' undeclared (first use this
function)
../authtestdlg.cpp:151: error: parse error before `>' token
../authtestdlg.cpp:154: error: `SM_CXICON' undeclared (first use this function)
../authtestdlg.cpp:154: error: `GetSystemMetrics' undeclared (first use this
function)
../authtestdlg.cpp:155: error: `SM_CYICON' undeclared (first use this function)
../authtestdlg.cpp:156: error: `CRect' undeclared (first use this function)
../authtestdlg.cpp:156: error: parse error before `;' token
../authtestdlg.cpp:157: error: `rect' undeclared (first use this function)
../authtestdlg.cpp:157: error: `GetClientRect' undeclared (first use this 
function)
../authtestdlg.cpp:162: error: `dc' undeclared (first use this function)
../authtestdlg.cpp:166: error: parse error before `::' token
../authtestdlg.cpp:172: error: syntax error before `::' token
../authtestdlg.cpp:178: error: invalid use of undefined type `class
DECLARE_MESSAGE_MAP()::CAuthTestDlg'
../AuthTestDlg.h:8: error: forward declaration of `class
DECLARE_MESSAGE_MAP()::CAuthTestDlg'
../authtestdlg.cpp: In member function `void
DECLARE_MESSAGE_MAP()::CAuthTestDlg::OnBnClickedTest()':
../authtestdlg.cpp:179: error: `UpdateData' undeclared (first use this function)
../authtestdlg.cpp:199: error: `LPSTR' undeclared (first use this function)
../authtestdlg.cpp:199: error: `LPCSTR' undeclared (first use this function)
../authtestdlg.cpp:199: error: parse error before `,' token
../authtestdlg.cpp:197: warning: unused variable `int AuthMask'
../authtestdlg.cpp:198: warning: unused variable `int Vendors[27]'
../authtestdlg.cpp:203: error: parse error before `,' token
../authtestdlg.cpp:213: error: `CComboBox' undeclared (first use this function)
../authtestdlg.cpp:213: error: parse error before `)' token
make: *** [authtestdlg.o] Error 1
Building file: ../stdafx.cpp
g++ -IC:\Documents and Settings\jeff\Desktop\AuthTest\include -O3 -Wall -c
-fmessage-length=0 -ostdafx.o ../stdafx.cpp
Finished building: ../stdafx.cpp
 
make: Target `all' not remade because of errors.
Build complete for project Auth


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19281

Reply via email to