[flext] Warnings in building an external

Luca Turchet tur at create.aau.dk
Fri Aug 19 20:49:44 UTC 2016


Hi Thomas,
thank you very much for the clarification

Best

Luca

______________________________________________

Luca Turchet, Ph.D.
Postdoctoral Research Fellow

Department of Architecture, Design & Media Technology
Aalborg University Copenhagen
A. C. Meyers Vænge 15
DK-2450 Copenhagen SV

E-mail: tur at create.aau.dk
Project Website: www.ahws-project.net
Personal Website: www.lucaturchet.it

________________________________________
From: Thomas Grill [grrrr.org at gmail.com] on behalf of Thomas Grill [gr at grrrr.org]
Sent: Friday, August 19, 2016 9:03 PM
To: Luca Turchet
Cc: flext list
Subject: Re: Warnings in building an external

Hi Luca,
please direct flext-related questions to the flext mailing list. I am responding to the list.

> I compiled under mac an external I wrote 5 years ago. The build does
> not give errors, only warnings, and the external is built and runs.
> However, the sound produced is much different from the one I used to get.
>
> Could you please check below the warnings I get and tell me if they can affect the
> behaviour of the external?
>

No, the constructor/destructor-related warnings are unrelated to signal processing.
Depending on the external, it can make a difference whether you are in 32 or 64 bit mode, especially when treating sample buffers. Still, this would be a rather exotic issue.
best, Thomas


>
> sh-3.2# bash /Users/luca/Documents/RICERCA/CODICE_C_EXTERNALS/FLEXT_NEW/build.sh pd gcc PKGINFO="package.txt";
> /Applications/Xcode.app/Contents/Developer/usr/bin/make -f /Users/luca/Documents/RICERCA/CODICE_C_EXTERNALS/FLEXT_NEW/buildsys/gnumake-sub.mak  PLATFORM=mac RTSYS=pd COMPILER=gcc BUILDPATH=/Users/luca/Documents/RICERCA/CODICE_C_EXTERNALS/FLEXT_NEW/buildsys/ PKGINFO=package.txt BUILDCLASS=ext TARGETMODE=release TARGETTYPE=single _build_
> /Users/luca/Documents/RICERCA/CODICE_C_EXTERNALS/FLEXT_NEW/buildsys/mac/gnumake-gcc-targets.inc:22: warning: overriding commands for target `pd-darwin/release-single'
> /Users/luca/Documents/RICERCA/CODICE_C_EXTERNALS/FLEXT_NEW/buildsys/mac/gnumake-gcc-targets.inc:18: warning: ignoring old commands for target `pd-darwin/release-single'
> mkdir -p pd-darwin/release-single
> mkdir -p pd-darwin/release-single/
> c++ -c -ffast-math -mmacosx-version-min=10.6 -march=native -O3 -mtune=native  -DNDEBUG -DFLEXT_SYS=2 -DPD -I/Applications/Pd-0.47-1-64bit.app/Contents/Resources/src -I/Applications/Pd-0.47-1-64bit.app/Contents/Resources/include -I/Applications/Pd-0.47-1-64bit.app/Contents/Resources/include/pd -I/usr/local/include/flext /usr/local/include/flext/flext.h -o pd-darwin/release-single/flext.h.gch
> clang: warning: treating 'c-header' input as 'c++-header' when in C++ mode, this behavior is deprecated
> In file included from /usr/local/include/flext/flext.h:60:
> In file included from /usr/local/include/flext/flclass.h:18:
> In file included from /usr/local/include/flext/flbase.h:19:
> /usr/local/include/flext/flsupport.h:130:1: warning: replacement function
>       'operator new' cannot be declared 'inline' [-Winline-new-delete]
> inline void *operator new(size_t bytes) NEWTHROW { return flext_root::op...
> ^
> /usr/local/include/flext/flsupport.h:131:1: warning: replacement function
>       'operator delete' cannot be declared 'inline' [-Winline-new-delete]
> inline void operator delete(void *blk) DELTHROW { flext_root::operator d...
> ^
> /usr/local/include/flext/flsupport.h:133:1: warning: replacement function
>       'operator new[]' cannot be declared 'inline' [-Winline-new-delete]
> inline void *operator new[](size_t bytes) NEWTHROW { return flext_root::...
> ^
> /usr/local/include/flext/flsupport.h:134:1: warning: replacement function
>       'operator delete[]' cannot be declared 'inline' [-Winline-new-delete]
> inline void operator delete[](void *blk) DELTHROW { flext_root::operato...
> ^
> 4 warnings generated.
> mkdir -p ./
> c++ -c -ffast-math -mmacosx-version-min=10.6 -march=native -O3 -mtune=native  -fvisibility-inlines-hidden -arch i386    -DNDEBUG -DFLEXT_SYS=2 -DPD -I pd-darwin/release-single -I/Applications/Pd-0.47-1-64bit.app/Contents/Resources/src -I/Applications/Pd-0.47-1-64bit.app/Contents/Resources/include -I/Applications/Pd-0.47-1-64bit.app/Contents/Resources/include/pd -I/usr/local/include/flext PhISM_footstep~.cpp -o pd-darwin/release-single/PhISM_footstep~.opp_i386
> In file included from PhISM_footstep~.cpp:8:
> In file included from /usr/local/include/flext/flext.h:60:
> In file included from /usr/local/include/flext/flclass.h:18:
> In file included from /usr/local/include/flext/flbase.h:19:
> /usr/local/include/flext/flsupport.h:130:1: warning: replacement function
>       'operator new' cannot be declared 'inline' [-Winline-new-delete]
> inline void *operator new(size_t bytes) NEWTHROW { return flext_root::op...
> ^
> /usr/local/include/flext/flsupport.h:131:1: warning: replacement function
>       'operator delete' cannot be declared 'inline' [-Winline-new-delete]
> inline void operator delete(void *blk) DELTHROW { flext_root::operator d...
> ^
> /usr/local/include/flext/flsupport.h:133:1: warning: replacement function
>       'operator new[]' cannot be declared 'inline' [-Winline-new-delete]
> inline void *operator new[](size_t bytes) NEWTHROW { return flext_root::...
> ^
> /usr/local/include/flext/flsupport.h:134:1: warning: replacement function
>       'operator delete[]' cannot be declared 'inline' [-Winline-new-delete]
> inline void operator delete[](void *blk) DELTHROW { flext_root::operato...
> ^
> 4 warnings generated.
> mkdir -p ./
> c++ -c -ffast-math -mmacosx-version-min=10.6 -march=native -O3 -mtune=native  -fvisibility-inlines-hidden -arch x86_64    -DNDEBUG -DFLEXT_SYS=2 -DPD -I pd-darwin/release-single -I/Applications/Pd-0.47-1-64bit.app/Contents/Resources/src -I/Applications/Pd-0.47-1-64bit.app/Contents/Resources/include -I/Applications/Pd-0.47-1-64bit.app/Contents/Resources/include/pd -I/usr/local/include/flext PhISM_footstep~.cpp -o pd-darwin/release-single/PhISM_footstep~.opp_x86_64
> In file included from PhISM_footstep~.cpp:8:
> In file included from /usr/local/include/flext/flext.h:60:
> In file included from /usr/local/include/flext/flclass.h:18:
> In file included from /usr/local/include/flext/flbase.h:19:
> /usr/local/include/flext/flsupport.h:130:1: warning: replacement function
>       'operator new' cannot be declared 'inline' [-Winline-new-delete]
> inline void *operator new(size_t bytes) NEWTHROW { return flext_root::op...
> ^
> /usr/local/include/flext/flsupport.h:131:1: warning: replacement function
>       'operator delete' cannot be declared 'inline' [-Winline-new-delete]
> inline void operator delete(void *blk) DELTHROW { flext_root::operator d...
> ^
> /usr/local/include/flext/flsupport.h:133:1: warning: replacement function
>       'operator new[]' cannot be declared 'inline' [-Winline-new-delete]
> inline void *operator new[](size_t bytes) NEWTHROW { return flext_root::...
> ^
> /usr/local/include/flext/flsupport.h:134:1: warning: replacement function
>       'operator delete[]' cannot be declared 'inline' [-Winline-new-delete]
> inline void operator delete[](void *blk) DELTHROW { flext_root::operato...
> ^
> 4 warnings generated.
> lipo pd-darwin/release-single/PhISM_footstep~.opp_i386 pd-darwin/release-single/PhISM_footstep~.opp_x86_64 -create -output pd-darwin/release-single/PhISM_footstep~.opp
> c++ -mmacosx-version-min=10.6 -dynamiclib -undefined dynamic_lookup  -dynamic -framework Accelerate -Wl,-S -arch i386 -arch x86_64 -framework ApplicationServices -L/Applications/Pd-0.47-1-64bit.app/Contents/Resources/bin -L/usr/local/lib -o pd-darwin/release-single/PhISM_footstep~.pd_darwin   pd-darwin/release-single/PhISM_footstep~.opp  -lflext-pd_s
> strip -x pd-darwin/release-single/PhISM_footstep~.pd_darwin
> chmod 755 pd-darwin/release-single/PhISM_footstep~.pd_darwin
> rm pd-darwin/release-single/PhISM_footstep~.opp_x86_64 pd-darwin/release-single/PhISM_footstep~.opp_i386
> sh-3.2#
>
>
>
>
>
>
>
>
>
> ______________________________________________
>
> Luca Turchet, Ph.D.
> Postdoctoral Research Fellow
>
> Department of Architecture, Design & Media Technology
> Aalborg University Copenhagen
> A. C. Meyers Vænge 15
> DK-2450 Copenhagen SV
>
> E-mail: tur at create.aau.dk
> Project Website: www.ahws-project.net
> Personal Website: www.lucaturchet.it



More information about the flext mailing list