FYI: I got an answer. Compilers used by me : in Rose RT: bash-3.00$ /vobs/gnu/gcc/SunOS-5.8/bin/g++ --version 2.95.3 VxWorks: bash-3.00$ /vobs/ubtssw_tornado/host/gnu/3.3/sun4-solaris2/bin/c++ppc --version c++ppc (GCC) 3.3-e500 20030421 (Wind River) Older gcc version , gives no error on compilation , if there is no "\" or a quote ("). The newer one , explicitly requires these for a successful compilation. For solaris build i was using the older gcc:( On 1/29/06, Purnendu Ghosh <purnendu@xxxxxxxxx> wrote: > > I am compiling C++ code for VxWorks. Many parts of my code span mulitple lines. > Do i need to specifically add an "\" for continuing the next line.Currently i am not using it, but the code compiles except for one instance , where if i put "\" there is a successfull compilation. > > The same code without "\" compiles successfully under Rational Rose Realtime(build for solaris) which uses g++. > > Thanks In Advance. > Purnendu Ghosh > FLEXTRONICS SOFTWARE SYSTEMS > #18/1,Outer Ring Road, > Panathur Post, > Bangalore 560 087,INDIA > > +91-080-5106 7837 Phone > +91-080-5126 6501 Fax > +91-9886892863 Mobile > --------------------------------------------------- > If you can DREAM it you can DO it > --------------------------------------------------- > -- with regards, purnendu ghosh ----------------------------------------------------------------------- If you can D.R.E.A.M it you can D.O it -----------------------------------------------------------------------