Changeset 9641


Ignore:
Timestamp:
Feb 8, 2015, 11:30:09 PM (9 years ago)
Author:
steve
Message:

Finding MICROSOFT compiler bugs

Location:
trunk/anuga_core
Files:
5 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/MANIFEST.in

    r9638 r9641  
    44include LICENCE.txt
    55recursive-include tools *
    6 recursive-include user_manual *
     6recursive-include doc *
    77recursive-include examples *
    88recursive-include anuga *
  • trunk/anuga_core/anuga/__init__.py

    r9621 r9641  
    2424test = Tester().test
    2525
     26
     27# PEP0440 compatible formatted version, see:
     28# https://www.python.org/dev/peps/pep-0440/
     29#
     30# Generic release markers:
     31# X.Y
     32# X.Y.Z # For bugfix releases
     33#
     34# Admissible pre-release markers:
     35# X.YaN # Alpha release
     36# X.YbN # Beta release
     37# X.YrcN # Release Candidate
     38# X.Y # Final release
     39#
     40# Dev branch marker is: 'X.Y.dev' or 'X.Y.devN' where N is an integer.
     41#
     42__version__ = '1.3.5'
     43
     44__svn_revision__ = filter(str.isdigit, "$Revision$")
     45
    2646#from anuga.__metadata__ import  __date__, __author__
    2747
    28 from .version import git_revision as __git_revision__
    29 from .version import svn_revision as __svn_revision__
    30 from .version import version as __version__
     48#from .version import git_revision as __git_revision__
     49#from .version import svn_revision as __svn_revision__
     50
     51
     52
    3153
    3254
  • trunk/anuga_core/anuga/pymetis/metis-4.0/metis.h

    r2051 r9641  
    1919#include <malloc.h>
    2020#endif
     21#ifdef _WIN32
     22#include <string.h>
     23#else
    2124#include <strings.h>
    22 #include <string.h>
     25#endif
    2326#include <ctype.h>
    2427#include <math.h>
  • trunk/anuga_core/anuga/tsunami_source/setup.py

    r9614 r9641  
    1616    config.add_data_dir(join('tests','data'))
    1717
    18 
    19     config.add_extension('okada_tsunami_fortran',
    20                          sources=['okada_tsunami_fortran.f'])
     18    if sys.platform != 'win32':
     19        config.add_extension('okada_tsunami_fortran',
     20                            sources=['okada_tsunami_fortran.f'])
    2121
    2222   
  • trunk/anuga_core/anuga/utilities/util_ext.h

    r8968 r9641  
    2828#define P_ERROR_BUFFER_SIZE 65
    2929
     30#ifdef _WIN32
     31#define __func__ __FUNCTION__
     32#endif
    3033
    3134// check that numpy array objects are C contiguous memory
     
    5861
    5962
     63#ifdef _WIN32
     64
     65#else
    6066double max(double x, double y) { 
    6167  //Return maximum of two doubles
     
    7278  else return y;
    7379}
    74 
     80#endif
    7581
    7682double sign(double x) {
Note: See TracChangeset for help on using the changeset viewer.