Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

source code only changes for Visual Studio 2010 build. #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AaronNGray
Copy link

I am rationalizing the Visual Studio 2010 changes into separate branches. This is the changes to the source code and perl configuration file changes. Tested on Linux.

oink-stack/smbase

  • run-flex.pl - added a '-win' flag for GnuWin32 flex 2.5.4 support.
  • FlexLexer.h - added copy of FlexLexer.h from a later flex.
  • ckheap.h - support for VisualStudio's _WIN32 as well as WIN32
    added checkHeap() and numMallocCalls() stub #defines
  • cycles.h - hack for milliseconds, getCycles_ll() returns zero for now.
  • nonport.cpp - support for VisualStudio's _WIN32 as well as WIN32
  • ofstreamts.cc - to #include <io.h> instead of <unistd.h>
  • str.cpp - to #include <io.h> instead of <unistd.h>

oink-stack/elkhound

  • glr.cc - added 'std::' to 'ostream'.
  • glrconfig.h - added prebuilt version.

oink-stack/elsa

  • configure.pl - added -DXML flag to CCFLAGS
  • main.cc - added XML build flag
  • baselexer.cc - added 'std::' to 'ostream'.
  • cc_flags.h - replaced 'bool operator>=' with a function 'superset()' for
    CVFlags and DeclFlags as they were causing ambiguities on
    Visual Studio. This is a bug see below (1)
  • cc_tcheck.cc - replaced 'bool operator>=' with a function 'superset()'
  • mtype.cc - replaced 'bool operator>=' with a function 'superset()'

oink-stack/smbase
  * run-flex.pl - added a '-win' flag for GnuWin32 flex 2.5.4 support.
  * FlexLexer.h - added copy of FlexLexer.h from a later flex.
  * ckheap.h - support for VisualStudio's _WIN32 as well as __WIN32__
               added checkHeap() and numMallocCalls() stub #defines
  * cycles.h - hack for milliseconds, getCycles_ll() returns zero for now.
  * nonport.cpp - support for VisualStudio's _WIN32 as well as __WIN32__
  * ofstreamts.cc - to #include <io.h> instead of <unistd.h>
  * str.cpp - to #include <io.h> instead of <unistd.h>

oink-stack/elkhound
  * glr.cc - added 'std::' to 'ostream'.
  * glrconfig.h - added prebuilt version.

oink-stack/elsa
  * configure.pl - added -DXML flag to CCFLAGS
  * main.cc - added XML build flag
  * baselexer.cc - added 'std::' to 'ostream'.
  * cc_flags.h - replaced 'bool operator>=' with a function 'superset()' for
                 CVFlags and DeclFlags as they were causing ambiguities on
                 Visual Studio. This is a bug see below (1)
  * cc_tcheck.cc - replaced 'bool operator>=' with a function 'superset()'
  * mtype.cc - replaced 'bool operator>=' with a function 'superset()'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant