|
[Sponsors] |
wmake patch to allow for -isystem in Make/options |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 11, 2014, 05:49 |
wmake patch to allow for -isystem in Make/options
|
#1 |
Member
Timm Severin
Join Date: Mar 2014
Location: Munich
Posts: 63
Rep Power: 12 |
Hi everyone,
I am currently trying to adapt a solver and got annoyed by the compiler warnings regarding unused variables in readPISOControls.H, so I adapted the wmake tool to accept -isystem entries in the Make/options file and thought I'd share this here and ask other people to test it, since I'm not 100% certain my changes were sufficient. Attached is a patch file which has to be applied to $WM_PROJECT_DIR/wmake/src/wmkdep.l. Once patched, you need to recompile wmake by executing make in $WM_PROJECT_DIR/wmake/src/. After that you can have an Make/option file similar to Code:
EXE_INC = \ -isystem$(LIB_SRC)/finiteVolume/lnInclude \ -I$(LIB_SRC)/sampling/lnInclude EXE_LIBS = \ -lfiniteVolume \ -lsampling As you might have noticed, I'm working with the current git version of OF-2.3.x, so changes might be necessary for other versions (though at least for 2.x series I doubt that).
__________________
PhD Student at the Institute of Biochemical Engineering at TU München Modelling of fluid dynamics in open photobioreactors. System: OpenFOAM 2.3.x, 64bit, 8 Core Xeon Workstation |
|
Tags |
isystem, wmake warning |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 | flakid | OpenFOAM Installation | 16 | December 28, 2010 09:48 |
Problems Installing OF 1.6 32 bit | bucksfan | OpenFOAM Installation | 19 | August 4, 2009 02:36 |
OpenFOAM15 installables are incomplete problem with paraFoam | tryingof | OpenFOAM Bugs | 17 | December 7, 2008 05:41 |
Problem of compilation OF 14Allwmake command not found | erik_d | OpenFOAM Bugs | 13 | September 13, 2008 22:45 |
[OpenFOAM] ParaFoam error message | joey | ParaView | 1 | October 2, 2006 14:28 |