Skip to content

Commit

Permalink
Fix warnings/errors with Intel compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
eheien authored and Eric Heien committed Oct 23, 2014
1 parent 6aa97de commit 0e94b39
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion quakelib/src/QuakeLibIO.h
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ namespace quakelib {
};

void clear(void) {
_data._event_number = nan("");
_data._event_number = UNDEFINED_EVENT_ID;
_data._event_year = nan("");
_data._event_trigger = UNDEFINED_ELEMENT_ID;
_sweeps.clear();
Expand Down
12 changes: 6 additions & 6 deletions src/core/SimTimer.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.

#include "config.h"

#ifdef MPI_C_FOUND
#include <mpi.h>
#endif

#include <vector>
#include <string>
#include <stack>
#include <iostream>

#include "config.h"

#ifdef VQ_HAVE_MATH_H
#include <math.h>
#endif

#ifdef MPI_C_FOUND
#include <mpi.h>
#endif

#ifndef _SIM_TIMER_H_
#define _SIM_TIMER_H_

Expand Down
6 changes: 3 additions & 3 deletions src/misc/MPIDebugOutputStream.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.

#include <iostream>
#include <string>

#include "config.h"

#ifdef MPI_C_FOUND
#include <mpi.h>
#endif

#include <iostream>
#include <string>

#ifndef _MPI_DEBUG_OUTPUT_STREAM_H_
#define _MPI_DEBUG_OUTPUT_STREAM_H_

Expand Down

0 comments on commit 0e94b39

Please sign in to comment.