On Mon, 3 Mar 2003, Stanislav Kaushanskiy wrote:
>
> When trying to get comments from a source file,
> the appendix to the manual states to us the -C option
> to compile the program, when doing so I get the
> following errors, if I do not use the -C option, these errors
> do not appear.
>
> what am I doing wrong?
Please send:
* .occ file you get without -C
* .occ file you get with -C
* version of C++ compiler you are using
Best regards
Grzegorz
>
> thanks
>
> >occ -C -g -c -SMeta -- Test.cpp
> >/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/new:35: parse error before `36 "/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/new"'
> >/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/new:44: parse error before `} ;'
> >/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/new:54: parse error before `void *'
> >/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/new:67: parse error before `# 34'
> >/usr/include/g++-3/iostream.h:31: parse error before `32 "/usr/include/g++-3/iostream.h"'
> >/usr/include/g++-3/iostream.h:272: parse error before `# 54'
> >/usr/include/g++-3/stl_alloc.h:344: parse error before `_Obj *'
> >/usr/include/g++-3/stl_alloc.h:351: parse error before `void *'
> >/usr/include/g++-3/stl_alloc.h:398: parse error before `: static'
> >/usr/include/g++-3/stl_alloc.h:406: parse error before `( __n'
> >10 Error(s). OpenC++ stops.
> >make: *** [Test.o] Error 1
> >
> >
>
>
>
##################################################################
# Grzegorz Jakacki Huada Electronic Design #
# Senior Engineer, CAD Dept. 1 Gaojiayuan, Chaoyang #
# tel. +86-10-64365577 x2074 Beijing 100015, China #
# Copyright (C) 2002 Grzegorz Jakacki, HED. All Rights Reserved. #
##################################################################
|