Try deleting that line from the source :)
yes this works and Gem compiles
If desired, the offending line on the source could be replaced with this pd_this->pd_stuff->st_namelist = namelist_append(pd_this->pd_stuff->st_namelist,
mypath, 0);
with this error:
s_main.c:119:1: error: expected identifier or '(' pd_this->pd_stuff->st_namelist = ^ ./m_pd.h:856:18: note: expanded from macro 'pd_this' #define pd_this (&pd_maininstance) ^ s_main.c:119:1: error: expected ')' ./m_pd.h:856:18: note: expanded from macro 'pd_this' #define pd_this (&pd_maininstance) ^ s_main.c:119:1: note: to match this '(' ./m_pd.h:856:17: note: expanded from macro 'pd_this' #define pd_this (&pd_maininstance)
thanks!
On Wed, Jul 19, 2017 at 1:08 PM, Miller Puckette msp@ucsd.edu wrote:
Try deleting that line from the source :)
The fix should have restored binary compatibility for existing compiled Gem installations, but new ones wont' compile with the offending line.
If desired, the offending line on the source could be replaced with this
pd_this->pd_stuff->st_namelist = namelist_append(pd_this->pd_stuff->st_namelist, mypath, 0);
cheers Miller
On Wed, Jul 19, 2017 at 12:30:02PM -0400, me.grimm wrote:
compiling Gem from latest git pull (just now) with this fix? pure-data/pure-data@c34380a <https://github.com/pure-data/pure-data/commit/
c34380ab1ea598068c7e293322b87e7c3a05bfe2>
I get:
clang: *warning: *optimization flag '-falign-loops' is not supported [-Wignored-optimization-argument]
clang: *warning: *optimization flag '-falign-functions' is not supported [-Wignored-optimization-argument]
clang: *warning: *optimization flag '-falign-jumps' is not supported [-Wignored-optimization-argument]
*Setup.cpp:189:2: **error: **use of undeclared identifier
'sys_searchpath'*
sys_searchpath = namelist_append(sys_searchpath, mypath, 0);
^*
*Setup.cpp:189:35: **error: **use of undeclared identifier
'sys_searchpath'*
sys_searchpath = namelist_append(sys_searchpath, mypath, 0);
I logged an issue on Gem git but johannes pointed to the pd issue as the culprit....
thanks! m
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/
listinfo/pd-list