TRILINOS_UNUSED_FUNCTION Doesn't work on windows with intel
Created by: bmpersc
This looks like an issue with the intel compiler on windows. It seems that Tpetra has run into this before as the same logic for setting TRILINOS_UNUSED_FUNCTION was checking for windows and not setting TRILINOS_UNUSED_FUNCTION to unused in that case. I have attached a patch that should fix this issue. I have two questions though, is this an acceptable solution? And Why is this logic in 3 places in Trilinos(1 in Teuchos and 2 in Tpetra)?
@mhoemmen 0001-Teuchos-Fix-compile-issue-on-windows-with-intel.patch.txt