Commit Graph

20 Commits

Author SHA1 Message Date
Brad King 4b8d3639ad Merge branch 'upstream-kwsys' into import-KWSys-subtree 2012-10-01 15:18:30 -04:00
Bill Hoffman 0b5288849f Silence warnings on sgi compiler. 2010-05-12 09:37:42 -04:00
Marcus Hanwell 58d82cd5bd COMP: Added missing case for the export macro, thanks to Kenneth Moreland. 2010-01-06 15:31:25 -05:00
Marcus Hanwell b0a0714343 ENH: Added support for building kwsys with GCC visibility support.
When kwsys is built using GCC visibility support can be used. This is similar
to the way that Windows exports symbols in DLLs, and requires projects that
build kwsys to change the default visibility using some compiler flags. See
http://gcc.gnu.org/wiki/Visibility for more details about GCC visibility.
2010-01-06 12:00:36 -05:00
Brad King a03f801f7f Suppress Intel float-equality test warnings
We suppress Intel warning 1572 because the cases where we do equality
tests are valid.  Since this project does not do numerical computations
we need not worry about real instances against which this warning
protects.
2009-11-24 08:57:06 -05:00
Brad King de955e4b6d Convert KWSys to OSI-approved BSD License
This converts the KWSys license to a pure 3-clause OSI-approved BSD
License.  We drop the previous license clause requiring modified
versions to be plainly marked.  We also update the KWSys copyright to
cover the full development time range.
2009-09-28 11:37:35 -04:00
Brad King d3679610c6 COMP: Quiet aggressive Borland warnings in KWSys
This disables Borland warning 8027 while compiling KWSys source files.
It provides no useful information.
2009-06-22 14:19:22 -04:00
Brad King 19d11e2a1f ENH: Skip KWSys name maros in case of identity
All KWSys C symbol names begin with the KWSYS_NAMESPACE defined at
configuration time.  For ease of editing we write canonical names with
the prefix 'kwsys' and use macros to map them to the configured prefix
at preprocessing time.  In the case of standalone KWSys, the prefix is
'kwsys', so the macros were previously defined to their own names.

We now skip defining the macros in the identity case so that the final
symbol names are never themselves macros.  This will allow the symbols
to be further transformed behind the scenes to help linkers in special
cases on some platforms.
2009-04-14 09:35:56 -04:00
David Cole f1115a30ee COMP: Second try getting rid of Microsoft deprecation warnings. This time tested from KWStyle with vs8 to make sure the warnings are really gone. Remove the deprecation defs from CMakeLists and guard the defs in the header so we do not redefine them if they are already defined. 2007-08-15 11:38:13 -04:00
David Cole bdeb4ad217 COMP: Suppress Microsoft deprecation warnings when building kwsys .c and .cxx files. This way, other projects that include kwsys will not see the warnings in kwsys .c and .cxx files, but they can still see the warnings in their own source files if they want to... 2007-08-15 09:25:58 -04:00
Brad King 209a3d4f7b COMP: Disable _FILE_OFFSET_BITS check until sys/types.h check is enabled. 2006-08-25 16:32:47 -04:00
Brad King ebf532b106 ENH: Separate the notion of a request for LFS and its availability. Allow user code to block definitions of LFS macros. Added framework to give error if sys/types.h is included before this header when LFS is requested (currently disabled). 2006-08-25 16:07:06 -04:00
Brad King ffb1a9f80a ENH: Moved test for large file support into kwsysPlatformCxxTests.cxx with name KWSYS_LFS_WORKS. 2006-08-25 16:00:10 -04:00
Andy Cedilnik d510ef2557 ENH: Support large file systems in kwsys 2006-08-22 15:34:14 -04:00
Brad King b9d472d81d ENH: Moved kwsys_ns and kwsysEXPORT macros to Configure.h in the case of building a kwsys source file. This allows more than one header to be included in a kwsys source file without redefining the macros. 2005-07-26 11:34:57 -04:00
Brad King a7fcb07418 COMP: Disable more warnings. 2005-06-09 08:19:16 -04:00
Brad King 05bd270109 COMP: Disable useless warnings. 2005-06-09 08:03:45 -04:00
Brad King ce8a34907a ENH: Updated copyright. 2003-12-15 16:30:46 -05:00
Brad King 31d72f961b BUG: Fixed dllimport. 2003-12-14 13:03:44 -05:00
Brad King ef76ed76f8 ENH: Added DLL support. 2003-06-30 10:30:38 -04:00