This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

ISO C++ forbids cast to non-reference type used as lvalue ?


Hi,

I upgraded my toolchain to gcc-3.4.4-glibc-2.3.5-linux-2.6.12 yesterday.

Now while compiling my c++ application I get

ISO C++ forbids cast to non-reference type used as lvalue

for lines like

(DWORD *) pbData += 1;

How could I workaround that, i.e. is there a flag to shut up the compiler?

--
Steven

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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