Skip to content

malloc.h is obsolete #27

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.

Activity

  1. added a commit that references this issue on Dec 12, 2016
    6225b89
  2. added a commit that references this issue on Jan 22, 2017
  3. added a commit that references this issue on Sep 29, 2020
  4. added a commit that references this issue on Feb 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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