Este forum é destinado a perguntas relacionadas a Oracle, mas que não se enquadram nos forums acima. Aqui serão tratadas também sobre outras tecnologias da oracle, como o Workflow, BPEL, Spatial, OCS, etc.
The problem is the code doesn't have an open #ifdef or #ifndef directives.
I'vê found a comment on this message on Google stating that the back slash can cause such error so I'vê stripped all back slashes out from the code but the error remains.
The following macros provide ways to find and exercise a C Compiler. There are a few constructs that ought to be avoided, but do not deserve being checked for, since they can easily be worked around.
Don't use lines containing solitary backslashes
They tickle a bug in the HP-UX C compiler (checked on HP-UX 10.20, 11.00, and 11i). Running the compiler on the following source,
#ifdef __STDC__
/\
* A comment with backslash-newlines in it. %{ %} *\
\
/
char str[] = "\\
" A string with backslash-newlines in it %{ %} \\
"";
char apostrophe = '\\
\
'\
';
#endif
yields
error-->cpp: "foo.c", line 13: error 4048: Non-terminating comment at end of file.
error-->cpp: "foo.c", line 13: error 4033: Missing #endif at end of file.
Removing the lines with solitary backslashes solves the problem.
Don't compile several files at once if output matters to you
Some compilers, such as the HP's, reports the name of the file it is compiling when they are several. For instance:
O Sérgio falou sobre postar em Português e eu fiquei chocado . Acreditam que eu estava enxergando o site todo em Inglês ? Nem percebi que estava em Português !
Então, beleza!
Já resolvi o problema anterior. Agora, estou me batando com a seguinte mensagem:
Eu já tinha visto esse forum. Na realidade, o problema é que o preprocessador Pro*C não está gerando o .c a partir do .ppc. Por isso o cc está printando essa mensagem. O Pro*C está gerando um arquivo de nome core, que não dá nenhuma informação para se descobrir o que está acontecendo e o .lis está vazio.