Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It isn't compiled with MinGW 4.9.2 #56

Closed
data-man opened this issue Feb 3, 2015 · 0 comments
Closed

It isn't compiled with MinGW 4.9.2 #56

data-man opened this issue Feb 3, 2015 · 0 comments

Comments

@data-man
Copy link

data-man commented Feb 3, 2015

Output:

In file included from ../common/CmdArg.cpp:31:0:
../common/CmdArg.h:34:19: error: expected ',' or '...' before '&&' token
#define RVAL_REF &&
^
../common/CmdArg.h:71:29: note: in expansion of macro 'RVAL_REF'
CmdArg& operator=(wchar_t* RVAL_REF asPtr);
^
../common/CmdArg.h:34:19: error: expected ',' or '...' before '&&' token
#define RVAL_REF &&
^
../common/CmdArg.h:75:27: note: in expansion of macro 'RVAL_REF'
LPCWSTR Attach(wchar_t* RVAL_REF asPtr);
^
../common/CmdArg.h:34:19: error: expected ',' or '...' before '&&' token
#define RVAL_REF &&
^
../common/CmdArg.h:86:18: note: in expansion of macro 'RVAL_REF'
CmdArg(wchar_t* RVAL_REF asPtr);
^
../common/CmdArg.h:34:19: error: expected ',' or '...' before '&&' token
#define RVAL_REF &&
^
../common/CmdArg.cpp:42:25: note: in expansion of macro 'RVAL_REF'
CmdArg::CmdArg(wchar_t* RVAL_REF asPtr)
^
../common/CmdArg.cpp: In constructor 'CmdArg::CmdArg(wchar_t_)':
../common/CmdArg.cpp:47:12: error: 'asPtr' was not declared in this scope
AttachInt(asPtr);
^
In file included from ../common/CmdArg.cpp:31:0:
../common/CmdArg.cpp: At global scope:
../common/CmdArg.h:34:19: error: expected ',' or '...' before '&&' token
#define RVAL_REF &&
^
../common/CmdArg.cpp:50:36: note: in expansion of macro 'RVAL_REF'
CmdArg& CmdArg::operator=(wchar_t_ RVAL_REF asPtr)
^
../common/CmdArg.cpp: In member function 'CmdArg& CmdArg::operator=(wchar_t_)':
../common/CmdArg.cpp:52:12: error: 'asPtr' was not declared in this scope
AttachInt(asPtr);
^
In file included from ../common/CmdArg.cpp:31:0:
../common/CmdArg.cpp: At global scope:
../common/CmdArg.h:34:19: error: expected ',' or '...' before '&&' token
#define RVAL_REF &&
^
../common/CmdArg.cpp:106:33: note: in expansion of macro 'RVAL_REF'
LPCWSTR CmdArg::Attach(wchar_t_ RVAL_REF asPtr)
^
../common/CmdArg.cpp: In member function 'const WCHAR* CmdArg::Attach(wchar_t*)':
../common/CmdArg.cpp:108:19: error: 'asPtr' was not declared in this scope
return AttachInt(asPtr);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants