Comments (4)
Does stdlib.h provide the malloc function on OS X? If so, I'll take extra care to make sure this is handled correctly in the future.
I guess the
while (read = getline (&line, &line_len, file) != -1)warning can be resolved by not using this shorthand syntax.
I'll change that and provide the fix.
from inklingreader.
Could you try again and see if the warnings/errors are resolved now?
from inklingreader.
AFAICT all resolved now - no more warnings with 3f3c820:
$ git status
# On branch master
nothing to commit (working directory clean)
$ git pull
remote: Counting objects: 18, done.
remote: Compressing objects: 100% (18/18), done.
remote: Total 18 (delta 4), reused 0 (delta 0)
Unpacking objects: 100% (18/18), done.
From https://github.com/roelj/inklingreader
5a16b6e..3f3c820 master -> origin/master
Updating 5a16b6e..3f3c820
Fast-forward
src/converters/svg.c | 217 ++++++++++++++++++++++-----------------------
src/gui/mainwindow.c | 2 +
src/high/configuration.c | 2 +-
src/main.c | 1 -
src/parsers/wpi.c | 20 ++--
5 files changed, 119 insertions(+), 123 deletions(-)
$ touch AUTHORS NEWS
$ autoreconf -i
$ CC=CLANG ./configure --prefix=$HOME/.local
checking for a BSD-compatible install... /Volumes/magenta/mp-trunk/quartz/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /Volumes/magenta/mp-trunk/quartz/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... CLANG
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether CLANG accepts -g... yes
checking for CLANG option to accept ISO C89... none needed
checking whether CLANG understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of CLANG... gcc3
checking for pkg-config... /Volumes/magenta/mp-trunk/quartz/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for INKLINGREADER... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
$ make
CC src/main.o
CC src/gui/mainwindow.o
CC src/gui/mainwindow_sig.o
CC src/converters/svg.o
CC src/converters/png.o
CC src/converters/json.o
CC src/converters/pdf.o
CC src/parsers/wpi.o
CC src/high/conversion.o
CC src/high/configuration.o
CCLD inklingreader
$ ./inklingreader --version
Version: 0.6
$
from inklingreader.
That looks really clean. Thank you for reporting the issues and providing a solution for the malloc.h replacement with stdlib.h.
from inklingreader.
Related Issues (20)
- Documentation and packaging HOT 3
- Crash when using custom colors HOT 4
- OS X malloc.h vs. stdlib.h HOT 3
- Drawing for screenshot HOT 1
- Filters and optimizers
- Build-system updates removed support for OS X HOT 2
- License headers of the Inkscape extension HOT 3
- collect2 error when compiling on ubuntu 14.04 HOT 5
- State of Libre Graphics (LGM15) HOT 11
- build fails (version 0.8 and dev): mainwindow.c: undefined reference to `gtk_ HOT 4
- window appears on having disconnected the online-mode HOT 9
- Not all Lines are displayed, but the WPI parser seems to have them. HOT 4
- calibration pressure HOT 1
- Configuration file is written location dependent HOT 2
- No lines displayed at all if the first coordinate is out of bounds
- Inklingreader does render sketch with filled areas HOT 1
- Running in Docker-Container HOT 1
- wacom WILL file format support?
- Unable to locate librsvg-2.0 HOT 2
- Trouble with librsvg when using ./configure or autoreconf -i HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inklingreader.