Boost C++ Libraries: Ticket #11657: Add VxWorks support for program options https://svn.boost.org/trac10/ticket/11657 <p> This patch enables program options to be compiled in <a class="missing wiki">VxWorks</a> 7. </p> <p> It should be used with the config patch in <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/11653" title="#11653: Patches: Updated VxWorks support (closed: fixed)">#11653</a> </p> <p> (Alternately we could make the environ in <a class="missing wiki">VxWorks</a> more standard, but since older <a class="missing wiki">VxWorks</a> versions are being used for decades after there release, a backward compatible approach seemed the better option) </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11657 Trac 1.4.3 Brian Kuhl <brian.kuhl@…> Wed, 16 Sep 2015 05:14:04 GMT attachment set https://svn.boost.org/trac10/ticket/11657 https://svn.boost.org/trac10/ticket/11657 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">vx_program_options.patch</span> </li> </ul> Ticket Brian Kuhl <brian.kuhl@…> Wed, 16 Sep 2015 05:24:29 GMT type changed https://svn.boost.org/trac10/ticket/11657#comment:1 https://svn.boost.org/trac10/ticket/11657#comment:1 <ul> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Patches</span> </li> </ul> Ticket Vladimir Prus Wed, 16 Sep 2015 05:34:24 GMT <link>https://svn.boost.org/trac10/ticket/11657#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11657#comment:2</guid> <description> <p> Am I right that this patch can be applied without waiting for the config one? </p> </description> <category>Ticket</category> </item> <item> <author>Brian Kuhl <brian.kuhl@…></author> <pubDate>Wed, 16 Sep 2015 05:36:03 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11657#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11657#comment:3</guid> <description> <p> Yes, no interdependence. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Wed, 16 Sep 2015 06:40:13 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11657#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11657#comment:4</guid> <description> <p> Good. Why did you need to define environ as const char<strong> and then cast to 'char </strong>'? At the very least, the cast should be const_cast, not a C-style cast, but I wonder whether it can be declare as non-const in the first place? Or environment on <a class="missing wiki">VxWorks</a> is not writable? </p> </description> <category>Ticket</category> </item> <item> <author>Brian Kuhl <brian.kuhl@…></author> <pubDate>Fri, 18 Sep 2015 17:00:07 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11657#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11657#comment:5</guid> <description> <p> It's effectively read only on every platform, you manipulate though setenv() POSIX says make it <a class="ext-link" href="http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html"><span class="icon">​</span>http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html</a> </p> <p> But a decade ago when the <a class="missing wiki">VxWorks</a> implementation was done, the engineer didn't read the spec. Maybe it's time to change it, our rule of thumb here at Wind is POSIX compatibility before backward compatibility in user space and vise versa in the kernel. </p> <p> I'll file a defect on my side you can ignor this patch. </p> </description> <category>Ticket</category> </item> </channel> </rss>