Community
Participate
Working Groups
Created attachment 190970 [details] Proposed fix incompatible redefinition of macro "environ" (declared at line 310 of ".../agent/framework/mdep.h") This definition is available in envLib.h Legal Message: I, Tim Robinson, declare that I developed attached code from scratch, without referencing any 3rd party materials except material licensed under the EPL and EDL. I am authorized by my employer, Wind River, to make this contribution under the EPL and EDL.
I cannot commit the patch. On VxWorks 6.6, 6.7, 6.8, the patch causes agent build to fail: "C:/tcf/trunk/agent/services/processes.c", line 707: error (dcc:1525): identifier ppGlobalEnviron not declared It might need #ifdef on VxWorks version number or something.
Interesting. The environ definition in envLib.h refers to ppGlobalEnviron, but there is no declaration of that variable in the headers. It's not clear how the environ macro should be used in vxWorks outside envLib.c, unless the client has itself declared ppGlobalEnviron as an extern.
Looks like it is VxWorks problem. Changing status to NOT_ECLIPSE.