fix compiler warnings #152
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
asm.h: remove MACROS(MNEMONIC,MACRO,INCFILE,REPLOOP,IFSTACK,SEGMENT,SYMBOL,STRLIST) use typedef
src/Makefile: enable compiler switches to hunt errors/warnings
src/exp.c: remove: warning: cast discards ‘const’ qualifier from pointer target
src/symbols.c: remove: warning: old-style function definition
src/ops.c: remove: this ‘if’ clause does not guard...
src/main.c: remove: warning: old-style function definition
src/ftohex.c: remove: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’
src/mnef8.c: remove: warning: ‘reg’ may be used uninitialized in this function
There are more warnings which can be enabled in Makefile but not so easy to fix
br beered