Michael Schmitt <[EMAIL PROTECTED]> writes:

| "figinset.C", line 257: Error: The function "kill" must have a
| prototype.

In my docs "kill" is not an ANSI C function and should not really be
in namespace std, but it seems that CC has put it there.
Add a
using std::kill;
and file a bug report to SUN.

| "figinset.C", line 1727: Error: Unknown preprocessor directive."

I was pretty sure that unknown preprocessor directives should be
ignored, but since I cannot find a reference I might be wrong...
We should make sure to wrap all the #warning dircetives then.

| "insetlatexaccent.C", line 645: Error: InsetLatexAccent::ACCENT_TYPES is
| not accessible from file level.

This is one error I don't really understand.
 
| "filetools.C", line 325: Error: Formal argument 1 of type char* in call
| to putenv(char*) is being passed const char*.

file a bug report to SUN.

| "lstrings.C", line 178: Error: Could not find a match for
| std::count<>(const char*, const char*, const char).

Missing prototype in CC's libraries.
Easy to work around.

| "bmtable.C", line 46: Error: The function "calloc" must have a
| prototype.
| "bmtable.C", line 212: Error: The function "free" must have a
| prototype.

bmtable should really be put in a _C_ library and compiled with a _C_
compilator.

| 
| "support/lstrings.h", line 16: Error: Templates can only declare classes
| or functions.
| "support/lstrings.h", line 19: Error: size_t is not defined.

using std::size_t;
should probably fix that.

| "layout.C", line 946: Error: Cannot use std::pair<bool, int> to
| initialize std::pair<bool, unsigned>.

missing prototype in CC's lib. file a buf report.
(we can fix this with a static_cast)

| "../src/lyx_main.C", line 139: Error: The function "signal" must have a
| prototype.

using std::signal;

        Lgb

Reply via email to