The R Project SVN R

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
52864 5807 d 6 h urbaneks /branches/R-exp-R5/ Experinental branch implementing "R5" ideas - extending S language to
create a more intuitive object system
 
45446 6670 d 10 h ripley /trunk/src/main/ whitespace cleanup  
42307 6942 d 13 h ripley /trunk/src/ change reference to GPL  
39918 7193 d 9 h ripley /trunk/ add test for time, and error if we have nothing at all  
39866 7196 d 8 h duncan /trunk/src/ The following are half the files changed to compile R with C++.
These are the simple, safe changes that keep the stricter compiler happy.

Change variable new to _new, class to klass, this to This or _this, template to Template, not to Not.
Remove some duplicate routine declarations.
Modernize some K&R routine parameter definitions.
Make explicit the signature for some routine pointer types.
Declare mode in creating connection as a const char * const.
Correct some routine declarations.
Add a throw to some routine definitions if in C++ to match built-in definitions.
Made the Clinkage explicit for rwarnc, rexitc. Use enum labels/constants where necessary.

The goals of using g++ are
a) to use a stricter compiler to discover anomolies in our code,
b) be able to use g++ -fdump-translation-unit so that we can more readily
do code analysis on the routines, variables, expressions and at the very
least allow me to identify the use of global variables automatically
and propose refactoring strategies,
c) to explore the pros and cons of using an Object Oriented programming
language C++ as the base language to get extensibility at the system level
and take advantage of some higher-level language features such as exceptions.
 
36973 7510 d 1 h ripley /trunk/ add comments on inttypes.h vs stdint.h, be very conservative
tidy up R_CHECK_FUNCS
 
36820 7524 d 5 h ripley /trunk/ update FSF address  
36573 7542 d 13 h ripley /trunk/ mkdtemp update for Windows  
36572 7542 d 14 h ripley /trunk/ add substitute for mkdtemp