Mercurial > vim
view src/xxd/Make_amiga.mak @ 22669:3ceb24835183 v8.2.1883
patch 8.2.1883: compiler warnings when using Python
Commit: https://github.com/vim/vim/commit/4ce5fe4c87820c7d22964d6e91d7b07e96640e6f
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Oct 21 21:01:59 2020 +0200
patch 8.2.1883: compiler warnings when using Python
Problem: Compiler warnings when using Python.
Solution: Adjust PyCFunction to also have the second argument. Use "int"
return type for some functions. Insert "(void *)" to get rid of
the remaining warnings.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 21 Oct 2020 21:15:03 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
# Makefile for xxd on the Amiga, using Aztec/Manx C 5.0 or later # #>>>>> choose between debugging (-bs) or optimizing (-so) OPTIONS = -so #OPTIONS = -bs #>>>>>> choose -g for debugging LN_DEBUG = #LN_DEBUG = -g CFLAGS = $(OPTIONS) -wapruq -ps -qf -DAMIGA -Dconst= Xxd: xxd.o ln +q -m $(LN_DEBUG) -o Xxd xxd.o -lc16 xxd.o: xxd.c cc $(CFLAGS) xxd.c -o xxd.o