Skip to content

malloc.h is obsolete #27

@vext01

Description

@vext01

Building on OpenBSD I get:

wilfred:unix> gmake
gcc -I. -I../py -Wall -Werror -ansi -std=gnu99 -Os -DUSE_READLINE  -c -o build/main.o main.c
In file included from main.c:4:
/usr/include/malloc.h:4:2: error: #warning "<malloc.h> is obsolete, use <stdlib.h>"
Makefile:73: recipe for target 'build/main.o' failed
gmake: *** [build/main.o] Error 1
'''

Indeed, using stdlib.h silences this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions