Opened 8 years ago

Last modified 7 years ago

#1539 closed task

Remove warnings from all compiler platforms — at Version 1

Reported by: magnate Owned by:
Milestone: 3.5.0 Keywords: cleanup
Cc:

Description (last modified by magnate)

None of these warnings appear in the basic linux build environment, but they all ought to be fixed nonetheless:

On any Windows build (cross-compile in Linux or native):

{{{ z-file.c: In function ‘file_open’:
z-file.c:381: warning: implicit declaration of function ‘fdopen’
z-file.c:381: warning: assignment makes pointer from integer without a cast }}}

On cygwin, building the gcu version:

{{{ parser.c: In function ‘parser_parse’:
parser.c:261:2: warning: array subscript has type ‘char’

z-file.c: In function ‘file_open’:
z-file.c:389:6: warning: implicit declaration of function ‘fdopen’
z-file.c:389:12: warning: assignment makes pointer from integer without a cast
z-file.c: In function ‘file_lock’:
z-file.c:450:2: warning: implicit declaration of function ‘fileno’

z-form.c: In function ‘vstrnfmt’:
z-form.c:553:5: warning: array subscript has type ‘char’
z-form.c:556:6: warning: array subscript has type ‘char’
z-form.c:557:7: warning: array subscript has type ‘char’

main-gcu.c: In function ‘Term_text_gcu’:
main-gcu.c:698:2: warning: implicit declaration of function ‘mvwaddnwstr’
main-gcu.c: In function ‘init_gcu’:
main-gcu.c:803:3: warning: implicit declaration of function ‘putenv’ }}}

Change History (1)

comment:1 Changed 8 years ago by magnate

  • Description modified (diff)
  • Status changed from new to confirmed
Note: See TracTickets for help on using tickets.