Overview
Features
Download
Documentation
Community
Add-Ons & Services

isspace not found for android

Please post support and help requests here.

isspace not found for android

Postby devdavid » 22 Mar 2013, 12:29

Code: Select all
/Users/exjobb/poco-1.5.1-all/Foundation/include/Poco/NumericString.h:107:22: error: there are no arguments to 'isspace' that depend on a template parameter, so a declaration of 'isspace' must be available [-fpermissive]
/Users/exjobb/poco-1.5.1-all/Foundation/include/Poco/NumericString.h:107:22: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
make: *** [obj/local/armeabi/objs/JsonPoco/JsonPoco.o] Error 1


So we are building an android application using poco as static libraries, problem is. We built the lib from command line with std:: removed from std::isinf etc. now when eclipse uses the lib we need to put the std:: back in the FPE...dummy header. Removes some errors, but the one above remains, isnt isspace declared in Ascii.h or something or do i need to set -fpermissive in my make file somewhere:

Code: Select all
LOCAL_PATH := $(call my-dir)
ROOT_PATH := $(LOCAL_PATH)

#include $(call all-subdir-makefiles)
include $(CLEAR_VARS)

LOCAL_PATH = $(ROOT_PATH)

include $(CLEAR_VARS)
LOCAL_ARM_MODE := arm
LOCAL_MODULE := PocoFoundation
LOCAL_SRC_FILES := Poco/libPocoFoundation.a
LOCAL_EXPORT_C_INCLUDES := /Users/exjobb/poco-1.5.1-all/Foundation/include
LOCAL_EXPORT_CFLAGS := -DFOO=1
LOCAL_EXPORT_LDLIBS := -llog
include $(PREBUILT_STATIC_LIBRARY)


include $(CLEAR_VARS)
LOCAL_MODULE_TAGS    := eng
LOCAL_ARM_MODE       := arm
LOCAL_MODULE    := JsonPoco # Your own library.
LOCAL_SRC_FILES := JsonPoco.cpp # Your own library source.
LOCAL_CFLAGS     := -DPOCO_ANDROID -DPOCO_NO_FPENVIRONMENT -DPOCO_NO_WSTRING -DPOCO_NO_SHAREDMEMORY
LOCAL_CPPFLAGS   := -frtti -fexceptions
LOCAL_STATIC_LIBRARIES := PocoFoundation
include $(BUILD_SHARED_LIBRARY)
devdavid
 
Posts: 17
Joined: 11 Mar 2013, 16:10

Return to Support

Who is online

Users browsing this forum: No registered users and 4 guests