the problem with the "vedit" or complier

hi,all,

I have a problem here:

I use the QNX 4.25.Several times when finish editing the program with
“vedit”, I compile it, but it reports erros where even there is obviously no
error at all.Then i have to re-write the line again,it remains the same as
before,now everything probably is ok ,which brings many pains.

Does anyone have such experience.How to solve this problem.

Thanks!

ycao

Previously, you (ycao) wrote:

hi,all,

I have a problem here:

I use the QNX 4.25.Several times when finish editing the program with
“vedit”, I compile it, but it reports erros where even there is obviously no
error at all.Then i have to re-write the line again,it remains the same as
before,now everything probably is ok ,which brings many pains.

Does anyone have such experience.How to solve this problem.

Thanks!

ycao

I know a problem like this when I accidentally hit the ‘Alt’ key (without pressing
any other key together with it) and then trying to type a space character -
removing the whitespace at that position and re-typing it usually helps. A look
at the file using vedit’s hex mode shows that ‘Alt’ followed by ‘space’ inserted
a 0xff into the file, which disturbs the compiler.

Regards,


T. Haupt

BitCtrl Systems GmbH
Weissenfelser Str. 67
04229 Leipzig

eMail: frk bitctrl de

“ycao” <ycao@mail.ipp.ac.cn> wrote in message
news:akmkp4$8bu$1@inn.qnx.com

hi,all,

I have a problem here:

I use the QNX 4.25.Several times when finish editing the program with
“vedit”, I compile it, but it reports erros where even there is obviously
no
error at all.Then i have to re-write the line again,it remains the same as
before,now everything probably is ok ,which brings many pains.

Press ATL-D a few time to see the source code in

hex format, hence you will see what “extra character” have
sliped in and hopefully understand where they come from

Does anyone have such experience.How to solve this problem.

Thanks!

ycao
\