Skip to content

Commit

Permalink
Fix: Windows and/or includes (iso646)
Browse files Browse the repository at this point in the history
Add missing includes to `AMReX_Extension.H`, which pulls the
`<iso646.h>` include on Windows for support for `and`/`or`.

Seen with Clang 11.0.0 on x64 Windows with Visual Studio 2017 on
conda-forge during a WarpX build.
  • Loading branch information
ax3l committed Dec 2, 2020
1 parent 91bdc79 commit 56e58c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Src/Base/AMReX_Vector.H
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <vector>
#include <memory>
#include <AMReX_BLassert.H>
#include <AMReX_Extension.H>
#include <AMReX_INT.H>
#ifdef AMREX_SPACEDIM
#include <AMReX_Array.H>
Expand Down
1 change: 1 addition & 0 deletions Src/Particle/AMReX_ParticleTile.H
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef AMREX_PARTICLETILE_H_
#define AMREX_PARTICLETILE_H_

#include <AMReX_Extension.H>
#include <AMReX_Particle.H>
#include <AMReX_ArrayOfStructs.H>
#include <AMReX_StructOfArrays.H>
Expand Down

0 comments on commit 56e58c1

Please sign in to comment.