[brlcad-commits] SF.net SVN: brlcad:[34055] brlcad/trunk/src/other/step/src

2009-03-18 Thread indianlarry
Revision: 34055
  http://brlcad.svn.sourceforge.net/brlcad/?rev=34055view=rev
Author:   indianlarry
Date: 2009-03-18 12:18:28 + (Wed, 18 Mar 2009)

Log Message:
---
Added standard C++ library via LIBSTDCXX variable to build where needed.

Modified Paths:
--
brlcad/trunk/src/other/step/src/cldai/Makefile.am
brlcad/trunk/src/other/step/src/cleditor/Makefile.am
brlcad/trunk/src/other/step/src/clstepcore/Makefile.am
brlcad/trunk/src/other/step/src/clutils/Makefile.am

Modified: brlcad/trunk/src/other/step/src/cldai/Makefile.am
===
--- brlcad/trunk/src/other/step/src/cldai/Makefile.am   2009-03-17 19:55:20 UTC 
(rev 34054)
+++ brlcad/trunk/src/other/step/src/cldai/Makefile.am   2009-03-18 12:18:28 UTC 
(rev 34055)
@@ -18,7 +18,8 @@
 libstepdai_la_SOURCES = 
 libstepdai_la_LDFLAGS =
 libstepdai_la_LIBADD = \
-   libstepdai_nil.la
+   libstepdai_nil.la \
+   ${LIBSTDCXX}
 
 noinst_HEADERS = \
ErrorMap.hh \

Modified: brlcad/trunk/src/other/step/src/cleditor/Makefile.am
===
--- brlcad/trunk/src/other/step/src/cleditor/Makefile.am2009-03-17 
19:55:20 UTC (rev 34054)
+++ brlcad/trunk/src/other/step/src/cleditor/Makefile.am2009-03-18 
12:18:28 UTC (rev 34055)
@@ -22,7 +22,8 @@
 libstepeditor_la_SOURCES = 
 libstepeditor_la_LDFLAGS =
 libstepeditor_la_LIBADD = \
-   libstepeditor_nil.la
+   libstepeditor_nil.la \
+   ${LIBSTDCXX}
 
 noinst_HEADERS = \
cmdmgr.h \

Modified: brlcad/trunk/src/other/step/src/clstepcore/Makefile.am
===
--- brlcad/trunk/src/other/step/src/clstepcore/Makefile.am  2009-03-17 
19:55:20 UTC (rev 34054)
+++ brlcad/trunk/src/other/step/src/clstepcore/Makefile.am  2009-03-18 
12:18:28 UTC (rev 34055)
@@ -61,7 +61,8 @@
 libstepcore_la_SOURCES = 
 libstepcore_la_LDFLAGS =
 libstepcore_la_LIBADD = \
-   libstepcore_nil.la
+   libstepcore_nil.la \
+   ${LIBSTDCXX}
 
 EXTRA_DIST = \
ExpDict.h.s \

Modified: brlcad/trunk/src/other/step/src/clutils/Makefile.am
===
--- brlcad/trunk/src/other/step/src/clutils/Makefile.am 2009-03-17 19:55:20 UTC 
(rev 34054)
+++ brlcad/trunk/src/other/step/src/clutils/Makefile.am 2009-03-18 12:18:28 UTC 
(rev 34055)
@@ -17,7 +17,8 @@
 libsteputils_la_SOURCES = 
 libsteputils_la_LDFLAGS =
 libsteputils_la_LIBADD = \
-   libsteputils_nil.la
+   libsteputils_nil.la \
+   ${LIBSTDCXX}
 
 noinst_HEADERS = \
dirobj.h \


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits


[brlcad-commits] SF.net SVN: brlcad:[34056] brlcad/trunk/src/librt/shoot.c

2009-03-18 Thread bob1961
Revision: 34056
  http://brlcad.svn.sourceforge.net/brlcad/?rev=34056view=rev
Author:   bob1961
Date: 2009-03-18 19:09:22 + (Wed, 18 Mar 2009)

Log Message:
---
Modified rt_res_pieces_clean() to skip uninitialized rt_piecestate structures.

Modified Paths:
--
brlcad/trunk/src/librt/shoot.c

Modified: brlcad/trunk/src/librt/shoot.c
===
--- brlcad/trunk/src/librt/shoot.c  2009-03-18 12:18:28 UTC (rev 34055)
+++ brlcad/trunk/src/librt/shoot.c  2009-03-18 19:09:22 UTC (rev 34056)
@@ -125,7 +125,21 @@
 if (rtip) {
for ( i = rtip-rti_nsolids_with_pieces-1; i = 0; i-- )  {
psp = resp-re_pieces[i];
+#if 1
+   /* 
+* Doing this until we figure out why all struct rt_piecestate 
array
+* members are NOT getting initialized in rt_res_pieces_init() 
above.
+* Initial glance looks like tree.c/rt_gettrees_muves() can be 
called
+* in such a way as to assign stp-st_piecestate_num multiple times,
+* each time with a different value. This value is an index into the
+* resp-re_pieces array. When this happens, it causes all but the
+* last referenced struct rt_piecestate member to be initialized.
+*/
+   if (psp-magic != RT_PIECESTATE_MAGIC)
+   continue;
+#else
RT_CK_PIECESTATE(psp);
+#endif
rt_htbl_free(psp-htab);
bu_bitv_free(psp-shot);
psp-shot = NULL;   /* sanity */


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits