libfilezilla 0.11.0_0 build fails in buffer.cpp on El Capitan

Everything related to libfilezilla

Moderator: Project members

Post Reply
Message
Author
gnwiii
500 Command not understood
Posts: 1
Joined: 2017-10-06 12:54
First name: George
Last name: White

libfilezilla 0.11.0_0 build fails in buffer.cpp on El Capitan

#1 Post by gnwiii » 2017-10-06 13:58

Code: Select all

libtool: compile:  /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I../lib/libfilezilla/private -DBUILDING_LIBFILEZILLA
 -I./libfilezilla -I/opt/local/include -fvisibility=hidden -pipe -Os -stdlib=libc++ -arch x86_64 -Wall -g -We
rror=partial-availability -std=gnu++14 -MT libfilezilla_la-thread.lo -MD -MP -MF .deps/libfilezilla_la-thread
.Tpo -c thread.cpp  -fno-common -DPIC -o .libs/libfilezilla_la-thread.o
buffer.cpp:92:3: error: use of undeclared identifier 'abort'
                abort();
                ^
buffer.cpp:100:3: error: use of undeclared identifier 'abort'
                abort();
                ^
2 errors generated.
make[1]: *** [libfilezilla_la-buffer.lo] Error 1
Adding the line

Code: Select all

#include <stdlib.h>
at the start of

Code: Select all

lib/buffer.cpp
allows the build to finish but
C++ should probably be using

Code: Select all

std:abort
.

User avatar
botg
Site Admin
Posts: 31605
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: libfilezilla 0.11.0_0 build fails in buffer.cpp on El Capitan

#2 Post by botg » 2017-10-06 14:09

Thanks, a fix has been committed to the repository.

Post Reply