Skip to content

Conversation

@driquelme
Copy link

Fixes compile error on MacOS due to use of default function parameter types.

For example:

gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DYYDEBUG  -DMACOS -g -Wall -fcommon   -c -o tdefs.o tdefs.c
tdefs.c: In function 'getSimpleTdefsByNumber':
tdefs.c:150:1: error: type of 'nTable' defaults to 'int' [-Wimplicit-int]
  150 | getSimpleTdefsByNumber(nTable)
      | ^~~~~~~~~~~~~~~~~~~~~~
make: *** [tdefs.o] Error 1

MacOS Version Sequoia 15.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant