This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

pasting "." and "something" does not give a valid preprocessing token..






I've just installed gcc 3.2 and I get the warning from the subject line when
compiling code that worked just fine with 2.95.3. Can anyone tell me what the
 warning means and how it can be rectified.

The offending code is a macro :

#define EMUL_TRACE(level, format, args...)     proc::theTrace->logTrace((level,  ##format , ##args)


where "Proc" is a class defined as

class Proc
{

. ..........

static TraceLog * theTrace;

}

and TraceLog  is another class defined as

class TraceLog
{
.............
public:
............
void logTrace(int severity, char* stringToBeLogged, ...)
.............

}

Thanks in advance....
Sanjay



"DISCLAIMER: This message is proprietary to Hughes Software Systems Limited
(HSS) and is intended solely for the use of the individual to whom it is
addressed. It may contain  privileged or confidential information and
should not be circulated or used for any purpose other than for what it is
intended. If you have received this message in error, please notify the
originator immediately. If you are not the intended recipient, you are
notified that you are strictly prohibited from using, copying, altering, or
disclosing the contents of this message. HSS accepts no responsibility for
loss or damage arising from the use of the information transmitted by this
email including damage from virus."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]