1. 31 Aug, 2019 2 commits
    • Egor Seredin's avatar
      Map not int enum to correct underlying_type (#1286) · bcd9b933
      Egor Seredin authored
      * Map not int enum to correct underlying_type
      
      * Use non-zero constant in TestFixedEnum
      bcd9b933
    • luncliff's avatar
      Add a CUDA test · 345ba07f
      luncliff authored
      test cuda: import fmt in CUDA source code
      
      Current test is only for Windows(cl.exe).
      Need to test more with the other host compilers...
      
      * Activate the test when `find_package(CUDA)` worked
      * The test runs with C++14
      
      Detailed comments in 'test/cuda-test'
      
      test cuda: add more comment / macro check
      
      * checks both `__NVCC__` and `__CUDACC__`
      
      More comments for CMake and CUDA source file.
      
      test cuda: <fmt/core.h> checks NVCC and CUDA
      
      The header file checks 2 things.
      
      * __NVCC__: if the compiler is from NVIDIA
      * __CUDACC__: if the source code is CUDA(.cu) file
      
      Since we can't sure all users prefer latest, Version for
      `find_pacakge(CUDA)` is downgraded to 9.0.
      This is the minimum version for C++14 in CUDA
      345ba07f
  2. 28 Aug, 2019 3 commits
  3. 27 Aug, 2019 2 commits
    • Greg Sjaardema's avatar
      Eliminate shadow variable warning · f5556225
      Greg Sjaardema authored
      gcc-9 gives the following shadow warning:
      ```
      In file included from /Users/libraries/ioss/src/fmt/ostream.h:12,
                       from /Users/libraries/ioss/src/Ioss_DatabaseIO.C:59:
      /Users/libraries/ioss/src/fmt/format.h: In function 'void fmt::v6::internal::parse_format_string(fmt::v6::basic_string_view<Char>, Handler&&)':
      /Users/libraries/ioss/src/fmt/format.h:2442:10: warning: declaration of 'struct fmt::v6::internal::parse_format_string(fmt::v6::basic_string_view<Char>, Handler&&)::writer' shadows a global declaration [-Wshadow]
       2442 |   struct writer {
            |          ^~~~~~
      /Users/libraries/ioss/src/fmt/format.h:1703:7: note: shadowed declaration is here
       1703 | using writer = basic_writer<buffer_range<char>>;
            |       ^~~~~~
      ```
      
      Since the `writer` struct is only used internally in the `parse_format_string` function, its name can be changed somewhat aribtrarily to avoid conflicts with names in an outer scope.
      
      Note that this warning is also present in the 6.0.0 release.
      f5556225
    • Bruce Mitchener's avatar
      Fix typos. · ad3c7855
      Bruce Mitchener authored
      ad3c7855
  4. 26 Aug, 2019 2 commits
  5. 25 Aug, 2019 8 commits
  6. 24 Aug, 2019 14 commits
  7. 22 Aug, 2019 2 commits
  8. 21 Aug, 2019 3 commits
  9. 14 Aug, 2019 1 commit
  10. 11 Aug, 2019 3 commits