Skip to content

malloc.h is obsolete #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
vext01 opened this issue Jan 1, 2014 · 0 comments · Fixed by #28
Closed

malloc.h is obsolete #27

vext01 opened this issue Jan 1, 2014 · 0 comments · Fixed by #28

Comments

@vext01
Copy link
Contributor

vext01 commented Jan 1, 2014

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.
tannewt added a commit to tannewt/circuitpython that referenced this issue Dec 12, 2016
drrk pushed a commit to drrk/micropython that referenced this issue Jan 22, 2017
tannewt pushed a commit to tannewt/circuitpython that referenced this issue Sep 29, 2020
WeActStudio pushed a commit to WeActStudio/micropython that referenced this issue Feb 14, 2021
Fixed formatting for auto parsing
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 a pull request may close this issue.

1 participant