fpjohnston / TECO-64

Enhanced and portable version of TECO text editor in C.
27 stars 6 forks source link

non-standard ulong #4

Closed polluks closed 2 years ago

polluks commented 2 years ago
Making errors.o
../src/errors.c: In function 'print_error':
../src/errors.c:253:21: error: 'ulong' undeclared (first use in this
function); did you mean 'u_long'?
  253 |                    (ulong)cmd_line);
      |                     ^~~~~
      |                     u_long
../src/errors.c:253:21: note: each undeclared identifier is reported
only once for each function it appears in
../src/errors.c:253:27: error: expected ')' before 'cmd_line'
  253 |                    (ulong)cmd_line);
      |                           ^~~~~~~~
      |                           )
../src/errors.c: In function 'throw':
../src/errors.c:458:1: warning: 'noreturn' function does return
  458 | }
      | ^
make: *** [Makefile:420: errors.o] Error 1
fpjohnston commented 2 years ago

This looks like the same error as PR #1. Or am I missing something?

On Sat, Feb 19, 2022 at 7:24 PM Stefan @.***> wrote:

Making errors.o

../src/errors.c: In function 'print_error':

../src/errors.c:253:21: error: 'ulong' undeclared (first use in this

function); did you mean 'u_long'?

253 | (ulong)cmd_line);

  |                     ^~~~~

  |                     u_long

../src/errors.c:253:21: note: each undeclared identifier is reported

only once for each function it appears in

../src/errors.c:253:27: error: expected ')' before 'cmd_line'

253 | (ulong)cmd_line);

  |                           ^~~~~~~~

  |                           )

../src/errors.c: In function 'throw':

../src/errors.c:458:1: warning: 'noreturn' function does return

458 | }

  | ^

make: *** [Makefile:420: errors.o] Error 1

— Reply to this email directly, view it on GitHub https://github.com/fpjohnston/TECO-64/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK73X7G7NBCTSIBPFQFIFV3U4AYD7ANCNFSM5O3US2SQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

polluks commented 2 years ago

No, just the official issue, not a misplaced comment. See also https://stackoverflow.com/a/43893781/1430535