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

Tpetra: unused variable 'tfecfFuncName' warning #5408

Closed
rrdrake opened this issue Jun 19, 2019 · 1 comment
Closed

Tpetra: unused variable 'tfecfFuncName' warning #5408

rrdrake opened this issue Jun 19, 2019 · 1 comment
Assignees
Labels
pkg: Tpetra type: bug The primary issue is a bug in Trilinos code or tests

Comments

@rrdrake
Copy link
Contributor

rrdrake commented Jun 19, 2019

Bug Report

@trilinos/tpetra

Description

Sierra compilation with GCC 7.2 is failing (warnings are treated as errors) because of

Tpetra_CrsGraph_def.hpp:2356:16: error: unused variable 'tfecfFuncName' [-Werror=unused-variable]
     const char tfecfFuncName[] = "findLocalIndices: ";
                ^~~~~~~~~~~~~

Steps to Reproduce

  1. Checkout Trilinos 7506e6b into Sierra
  2. Build Sierra aria
@rrdrake rrdrake added the type: bug The primary issue is a bug in Trilinos code or tests label Jun 19, 2019
@mhoemmen
Copy link
Contributor

PR with fix here: #5410

@mhoemmen mhoemmen self-assigned this Jun 19, 2019
trilinos-autotester added a commit that referenced this issue Jun 19, 2019
Automatically Merged using Trilinos Pull Request AutoTester
PR Title: Tpetra: Fix #5408 (build warning in CrsGraph)
PR Author: mhoemmen
jmgate pushed a commit to tcad-charon/Trilinos that referenced this issue Jun 20, 2019
…s:develop' (d1e19b9).

* trilinos-develop:
  Error out if trying to set Kokkos Pthreads backend (TRIL-272)
  tpetra:  changes to reduce the number of deprecated warnings issued trilinos#5117
  Tpetra: Fix trilinos#5408 (build warning in CrsGraph)
  Tpetra::CrsMatrix: Fix trilinos#5407
  Teuchos::ParameterList: Fix 2 shadowing warnings
  Tpetra: Add benchmark for CrsMatrix::sumIntoLocalValues
jmgate pushed a commit to tcad-charon/Trilinos that referenced this issue Jun 20, 2019
…s:develop' (d1e19b9).

* trilinos-develop:
  Error out if trying to set Kokkos Pthreads backend (TRIL-272)
  tpetra:  changes to reduce the number of deprecated warnings issued trilinos#5117
  Tpetra: Fix trilinos#5408 (build warning in CrsGraph)
  Tpetra::CrsMatrix: Fix trilinos#5407
  Teuchos::ParameterList: Fix 2 shadowing warnings
  Tpetra: Add benchmark for CrsMatrix::sumIntoLocalValues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: Tpetra type: bug The primary issue is a bug in Trilinos code or tests
Projects
None yet
Development

No branches or pull requests

2 participants