Commit graph

2141 commits

Author SHA1 Message Date
Mark Pictor
3137592db6 Remove y.tok.h, whose defined constants disagree with other files. Appears to be unused. 2011-07-16 12:07:24 -04:00
Mark Pictor
1b235f6c5a remove m4 directory, since autotools is gone 2011-07-11 21:04:10 -04:00
Christopher Sean Morrison
8a9c6a7918 from mpictor's commit fixing a crash from newer versions of flex, 37ac5dc82f; which is from a gentoo spim patch, which seems to have originated from a fedora patch. apparently yy_init was changed from meaning 'needs to be initialized' to 'was initialized', effectively flipping the boolean meaning. 2011-07-10 19:16:06 +00:00
Mark Pictor
7ee097af0c Remove autotools files 2011-07-10 11:41:35 -04:00
Mark Pictor
4cf16d7441 split 12mar09 patch - change 'char *' to 'const char *' in many places 2011-07-10 10:38:26 -04:00
Mark Pictor
b6004b9775 split 12mar09 patch - cast strings to (char *) or (const char *)
Conflicts:

	src/clstepcore/ExpDict.h
2011-07-10 10:25:14 -04:00
Mark Pictor
37ac5dc82f Fix 64-bit segfault caused by a change in flex 2.5.33 2011-07-09 11:52:47 -04:00
brlcad
26c1ae29ae remove the SCLLOG/SCLBOOL wrappers on the SCL Boolean and Logical enums. they were being conditionally put into a namespace in order to be protected in case they're used within a 3rd party context (like CORBA) that might also define same-named enums, but the macrofied protection just adds complexity. iff a conflict is encountered, the types can be put into an SCL or P23 or SDAI namespace. 'Boolean' would be prime for outright removal/replacement with 'bool' except it also supports an unknown value so keep it around for now.
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@45121 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:50 -04:00
starseeker
9ca892bb48 Needs more testing, but simplify down the install dir variables.
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@44753 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:50 -04:00
erikgreenwald
3a0cb969d0 add CMake/* stuff to EXTRA_DIST
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@44745 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:50 -04:00
erikgreenwald
85025391ec add scl_cf_cmake.h.in to EXTRA_DIST
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@44744 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:50 -04:00
erikgreenwald
f941f8d968 Add CMakeLists.txt to EXTRA_DIST.
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@44740 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:50 -04:00
starseeker
100ce184d8 Fix step files in trunk
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@43301 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:50 -04:00
starseeker
256bf1e7b9 We should have a working autotools build with the step tweaks now - make trunk step directory match that from CMake. Since there is no previous CMake build for the step subdirectory, go ahead and put everything here.
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@43254 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:50 -04:00
starseeker
1ad794fe37 This isn't the right fix for this - revert
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@42810 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:50 -04:00
starseeker
21b91174c4 Hmm - warning flags got passed to step, which isn't happy - maybe could ignore, but since we're maintaining the code anyway might as well...
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@42674 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:50 -04:00
starseeker
0ed1042445 Try replacing $(ECHO) with echo in the Makefile.am files - the newest libtool is using a printf expression for $(ECHO) that is resulting in extra n characters at the end of lines.
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@41252 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:50 -04:00
erikgreenwald
0c24b4be49 allow autoconf to see the local m4 dir
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@41195 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:50 -04:00
brlcad
5b927b6e48 add the NOWARN flag everywhere effectively disabling compilation warnings for all of our external dependencies (except for libz, libpng, and libregex just because they're already fairly quiet). clean up CFLAGS in step where they should be CPPFLAGS as well.
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@38746 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:50 -04:00
brlcad
a180011455 step needs to check/set the NOWARN flag just like our top-level configure since it's copying what we do.
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@38745 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:49 -04:00
erikgreenwald
668ee358da add the osX.5 x86 64b flag (should finding the 64b flag be a BC_ macro?)
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@38577 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:49 -04:00
indianlarry
c5fd231785 more warning quellage, also pushed back mods to fedex_plus generated code
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@37068 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:49 -04:00
erikgreenwald
fd7ec105d9 quell some cast warnings... (probably should have a "const char *" method, instead)
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@37063 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:49 -04:00
indianlarry
06cb1448ff Cleaned up CPP defs to quell compiler warning.
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@37062 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:49 -04:00
brlcad
ed69972409 rename the BOOL and BOOLS classes to BOOLEAN and BOOLEANS respectively so as not to conflict with openNURBS (and other codes that commonly use BOOL as a simple boolean type). this also conveniently makes the class name lengths match the corresponding LOGICAL and LOGICALS classes. unsure about the Bool->Boolean declarations and how they come into play, alas, so have to see if those need to be unrolled for the actual step parsing.
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@36977 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:49 -04:00
brlcad
0d0e7e31e5 oops, SCL has its own configure.ac, use the CL-prefixed vars (most importantly adding/keeping libdai)
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@36779 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:49 -04:00
brlcad
80738edab1 curiously, still using the CL* vars instead of what configure.ac is providing. link failure generating resolved dylib.
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@36778 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:49 -04:00
brlcad
170c086200 reverse the strict-build variable to be consistent with the others, remove AC_C_PROTOTYPES (we assume c89 compliance as a minimum)
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@36547 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:49 -04:00
starseeker
35edbb8212 Bad developer. Update the Makefile.am too.
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@36494 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:49 -04:00
starseeker
08b79cb1fd Add a TODO about getting the NIST code to actually generated the correct code for src/conv/step
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@36493 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:49 -04:00
brlcad
e80b4b038a more removal for brevity
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@36486 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:49 -04:00
brlcad
b1f6c28832 remove loads of unnecessary stuff. should reduce configure time some.
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@36485 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:48 -04:00
brlcad
e92e30119e iomanip.h is obsolete, but doesn't even seem to be used. if needed, probably should be <iomanip> instead.
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@36260 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:48 -04:00
brlcad
9209accd2a sys_errlist[] is deprecated, using strerror() instead
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@36211 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:48 -04:00
brlcad
31b4248b7a gcc 2.95 has fmtflags in the ios:: class instead of ios_base::
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@36210 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:48 -04:00
indianlarry
7adabd93da Cleaned up some memory freeing calls reported by valgrind
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@36192 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:48 -04:00
erikgreenwald
5a678d62da Twist up how package headers are included. Heimdall has a "resolv.conf" that is installed and sometimes is grabbed instead of include/express/resolve.h, so pull the express include directory up a level and refer to headers as, say, "express/resolve.conf".
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@35705 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:48 -04:00
indianlarry
5bf091b215 re-ordered some class member initialization to quite compiler
warnings


git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@35238 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:48 -04:00
brlcad
200cb39f76 already had a version-info on LDFLAGS, fix autoreconf failure
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@35209 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:48 -04:00
erikgreenwald
a6f9479508 chuck in some version info for installed libraries. Mimick BRL-CAD lib version (for now).
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@35155 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:48 -04:00
brlcad
1e0c4212e0 apply a simple patch that should hopefully fix sf bug 2820579, reported by Jeff Meldrum (jspaces) regarding a const to non-const conversion. according to a handful of online sources, c++ apparently changes the signature of strrchr from the posix C decl with two overloaded possibilities, both input and return are either const or non-const.
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@35084 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:48 -04:00
brlcad
c195e9a281 more cleanup, o-p-l and removal of empty nil vars
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@34623 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:48 -04:00
brlcad
b2678b796f oops, not dependent on itself
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@34622 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:48 -04:00
brlcad
04c367451f we can cheat and fake the dependency resolve by letting libstepdai depend on libstepcore and allowing libstepcore to not require all symbols be defined. this cyclic dependency really should be broken, though, as it will likely still cause portability problems. the SDAI functions shouldn't be called from libstepcore.
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@34619 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:47 -04:00
brlcad
4a7c201cb7 these libs fully resolve after specifying libexpress as a dependency
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@34618 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:47 -04:00
brlcad
cc0b2406f3 move the needFunc stubbed-empty example from src/test into here so that we don't have a library calling a fracking undefined symbol. bad design. probably needs to be an overridable virtual or a app-registered callback. either way, this resolves all symbols for this lib and allows -no-undefined to work. sort the file list while at it.
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@34617 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:47 -04:00
brlcad
44798b1738 clutils comes first, then clstepcore needs to come next. looks like cldai depends on both.
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@34616 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:47 -04:00
brlcad
ba1a15a93d define all of the generated libraries so we can make sure all dependencies are resolved
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@34609 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:47 -04:00
brlcad
eb4a1fa7ba need -fexceptions on C++ libs to resolve Unwind_Resume. this lib fully resolves now.
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@34607 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:47 -04:00
brlcad
2283e3be68 one per line for diffability, remove extraneous tab, can't ldadd something not necessarily built
git-svn-id: https://brlcad.svn.sourceforge.net/svnroot/brlcad/brlcad/trunk/src/other/step@34606 2f96ce8b-6d43-0410-b8df-bffccc660ffb
2011-07-09 10:57:47 -04:00