Commit Graph

23 Commits

Author SHA1 Message Date
Stephen Kelly 2db55ffa56 Remove borland workarounds.
CMake 3.0 is the last release to require to be able to build with
Borland.
2014-10-15 23:16:44 +02:00
Brad King ad2107903a Fortran: Follow <>-style includes (#13239)
Fortran sources that pass through the C preprocessor may use

 #include "header"

syntax or

 #include <header>

syntax.  CMake already follows the former.  Teach it to follow the
latter.
2012-05-22 14:07:24 -04:00
Brad King 96afb12087 Convert CMake to OSI-approved BSD License
This converts the CMake 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 CMake copyright to
cover the full development time range.
2009-09-28 11:43:28 -04:00
Brad King f5a86a83d3 ENH: Use KWSys String strcasecmp to parse Fortran
This replaces the Fortran dependency parser source's custom strcasecmp
implementation with one from KWSys String.  It removes duplicate code
and avoids a Borland warning about inlining functions with 'while'.
2009-06-12 10:46:25 -04:00
Brad King ab629e28f3 BUG: Do not use 'char' type as array subscript
This converts uses of 'char' as an array subscript to 'unsigned char' to
heed the warning from gcc.  The subscript must be an unsigned type to
avoid indexing before the beginning of the array.  This change avoids a
potential crash if input text contains a byte value beyond 0x7f.
2009-02-17 11:53:57 -05:00
Brad King 5bf6dba9e8 ENH: Patch from Maik to add Fortran03 USE syntax support.
- I tweaked the patch to add 'other' production rules for COMMA and DCOLON
  - See issue #6884.
2008-04-23 23:53:20 -04:00
Brad King 2eb3653d79 STYLE: Fix reference to makedepf90 project. 2008-04-21 11:28:53 -04:00
Brad King e2e8993eb3 BUG: Fix parsing of fortran include directives during dependency scanning. Previously only #include worked but not just include. 2008-01-07 23:08:42 -05:00
Brad King 60149b33c1 BUG: Fixed memory-leaks in fortran parser. 2007-12-17 17:55:21 -05:00
Brad King ca5c5fc770 BUG: Fix parsing of #include preprocessor directives. 2007-12-17 17:55:03 -05:00
Brad King 89dc3b0753 COMP: Disable some warnings in generated code. Disable compilation of unused goto block. 2007-10-05 10:02:34 -04:00
Bill Hoffman 056f10bf0d ENH: update .y file with borland fix, and use a table based strcasecmp 2007-10-04 15:31:03 -04:00
David Cole e6912431c8 COMP: Get it to compile on Borland 5.5, too. Including stl headers here does not work, because with Borland 5.5 stl headers pull in windef.h which typedefs WORD which is in the fortran tokens list... 2007-10-04 14:47:11 -04:00
Brad King a655372568 STYLE: Removed reference to my home directory from #line calls. 2007-10-04 09:49:13 -04:00
Brad King d06c2eed9a COMP: Do not use non-portable strcasecmp. 2007-10-03 17:01:49 -04:00
Brad King f8caab4613 BUG: Fix for bug#5809. Applied patch supplied in the bug report. Updated pre-generated lexer and parser sources. This updates the makedepf90 version to 2.8.8. The parser actions have been updated to ignore "use" in comments properly. 2007-10-03 15:41:39 -04:00
Ken Martin 420095c013 COMP: shut up warnings 2007-03-05 10:36:06 -05:00
Brad King ab61137eb1 COMP: Fix and/or disable warnings for Borland 5.6 build. 2006-08-01 11:38:42 -04:00
Ken Martin a5ed047d4b STYLE: fix line length 2006-05-10 14:54:46 -04:00
Brad King 16125cd015 COMP: Added __INTEL_COMPILER to test for yyerrorlab warning suppression. 2005-03-14 08:15:08 -05:00
Brad King a9af1c23ef COMP: Adding warning work-around for unused case label yyerrorlab on HP compiler. 2005-02-02 17:05:38 -05:00
Brad King c98687ed9e COMP: Disabling warning in generated code. 2005-02-01 11:28:38 -05:00
Brad King 04e56bf7ff ENH: Changed over to using C++ for building flex/bison generated files. It reduces the number of changes that need to be made after generation. 2005-02-01 10:42:52 -05:00