Changeset 3320 for trunk/CMakeLists.txt


Ignore:
Timestamp:
Sep 11, 2014 7:06:21 PM (6 years ago)
Author:
bradbell
Message:
  1. g++ 4.8.2 has shadow warnings by default, but eigen and fadbad do not

these warnings, so supress then in these cases.

  1. Move check that arguments come before result into on place,

CPPAD_ASSERT_ARG_BEFORE_RESULT (only one argument case so far).

main.cpp: fix shadowing of index variable.
CMakeLists.txt: adapt to change in teuchos library name.
sparse_jacobian.cpp: fix a shadowed variable.
check_svn_id.sh: ignore svn_commit.sh.
gpl_license.sh: ignore svn_commit.sh.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CMakeLists.txt

    r3309 r3320  
    172172# cppad_cxx_flags_skip_eigen
    173173STRING(REGEX REPLACE
    174         "(.*)-Wshadow(.*)"         "\\1 \\2"
     174        "(.*)-Wshadow(.*)"         "\\1-Wno-shadow\\2"
    175175        cppad_cxx_flags_eigen "${cppad_cxx_flags}"
    176176)
     
    179179# cppad_cxx_flags_skip_fadbad
    180180STRING(REGEX REPLACE
    181         "(.*)-Wshadow(.*)"         "\\1 \\2"
     181        "(.*)-Wshadow(.*)"         "\\1-Wno-shadow\\2"
    182182        cppad_cxx_flags_fadbad "${cppad_cxx_flags}"
    183183)
Note: See TracChangeset for help on using the changeset viewer.