#276 OS390 compile error highlightData.c

development
open
nobody
Program (402)
8
2008-01-04
2003-06-06
Stephen J Bovy
No

I am getting the following compile error when
building/compiling on OS390 with current CVS:

ERROR CCN3186 ./highlightData.c:551 String literal
must be ended before the end of line.
ERROR CCN3045 ./highlightData.c:552 Undeclared
identifier string.
ERROR CCN3045 ./highlightData.c:552 Undeclared
identifier insert_string.
ERROR CCN3045 ./highlightData.c:552 Undeclared
identifier mouse_pan.
ERROR CCN3191 ./highlightData.c:552 The character \
is not a valid C source character.
ERROR CCN3277 ./highlightData.c:552 Syntax error:
possible missing ',' or '}'?
CCN0793(I) Compilation failed for file ./highlightData.c.
Object file not created.
FSUM3065 The COMPILE step ended with return code 12.
FSUM3017 Could not compile highlightData.c. Correct
the errors and try again.
make[1]: *** [highlightData.o] Error 3

Discussion

1 2 > >> (Page 1 of 2)
  • Eddy De Greef
    Eddy De Greef
    2003-06-07

    Logged In: YES
    user_id=73597

    Are you sure you got the latest CVS version?
    There has been a problem near line 551 a few days ago, but it
    was fixed. The latest version of highlightData.c is version 1.52.
    You can find the version number at the first line, inside the
    CVSID string.

     
  • Stephen J Bovy
    Stephen J Bovy
    2003-06-09

    Logged In: YES
    user_id=795153

    I downloaded "nedit-latest-sources-HEAD" on June 6.
    Which is last "friday". I looked in the file and here is what I
    found:

    const char CVSID = "$Id: highlight.c,v 1.42 2003/05/09
    17:43:45

    So you are correct. I guess the latest-sources-head wasn't
    100% up to date.....

    Thanks for the repsonse,

     
  • Stephen J Bovy
    Stephen J Bovy
    2003-06-09

    Logged In: YES
    user_id=795153

    I got the newest version 1.52 from cvs, and I am still
    getting the same error

     
  • Eddy De Greef
    Eddy De Greef
    2003-06-10

    Logged In: YES
    user_id=73597

    I can't find anything wrong. Perhaps you hit a compiler
    limit (string too long?). Could you try to isolate the
    problem, ie. first try to remove the offending line and if
    that compiles, add half of the line back etc.
    till you find the problem ? (make sure that the line is
    always terminated with a backslash).

     
  • Stephen J Bovy
    Stephen J Bovy
    2003-06-10

    Logged In: YES
    user_id=795153

    That was my first "hunch", but I "discounted" that theory
    because "line 550" is longer than line "551".

    But, I'll give it a try. Sorry I should have done it myself
    before bothering you..

    Thanks for taking the time to reveiw my issue.

     
  • Stephen J Bovy
    Stephen J Bovy
    2003-06-10

    Logged In: YES
    user_id=795153

    That was my first "hunch", but I "discounted" that theory
    because "line 550" is longer than line "551".

    But, I'll give it a try. Sorry I should have done it myself
    before bothering you..

    Thanks for taking the time to reveiw my issue.

     
  • Stephen J Bovy
    Stephen J Bovy
    2003-06-10

    Logged In: YES
    user_id=795153

    OK, I removed line (551) and the compile succeeded.

    I will attempt to identify what part of line (551) is the
    problem

     
  • Stephen J Bovy
    Stephen J Bovy
    2003-06-10

    Logged In: YES
    user_id=795153

    I split line (551): (near the "end_of_file" ) tag like so:

    000551 Text Actions:\"<(?:self-insert|self_in
    000552 end_of_file|next-page|nex

    And it compiled !!!!

    I have (3) other changes I had to make to the build,
    in order for the os390 build to succeed, any sugestions
    on how to pass those changes into cvs ????

     
  • Steve LoBasso
    Steve LoBasso
    2003-08-19

    Logged In: YES
    user_id=140805

    We should probably reconsider having lines so long in the
    source. With some lines being more than 3000 characters
    long, we're bound to find a compiler that can't deal with it.

     
  • Thorsten Haude
    Thorsten Haude
    2006-02-05

    Logged In: YES
    user_id=119143

    To alleviate this problem, I would like to remove the
    obsolete actions from the pattern set. Any objections?

     
1 2 > >> (Page 1 of 2)