CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [swak4Foam] what this sentence in groovyBC compiling mean? (https://www.cfd-online.com/Forums/openfoam-community-contributions/113295-what-sentence-groovybc-compiling-mean.html)

immortality February 17, 2013 05:42

what this sentence in groovyBC compiling mean?
 
is this message an error?
Code:

No 'swakConfiguration'. Python etc won't work

immortality February 17, 2013 05:49

and also these:
Code:

lex.fvexpr.c:60969:22: warning: use of old-style cast [-Wold-style-cast]
Code:

lex.parserSubset.c:10227:57: warning: use of old-style cast [-Wold-style-cast]
lex.parserSubset.c:10227:57: warning: use of old-style cast [-Wold-style-cast]

[CODElex.parserSubset.c:11798:16: warning: ‘int yy_top_state(yyscan_t)’ defined but not used [-Wunused-function]
][/CODE]
and also:
Code:

position.hh:136:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
and many of these sentences:
Code:

Making dependency list for source file swakExplicitSources.C
could not open file FixedValuePointPatchField.H for source file swakExplicitSources.C
could not open file ZeroGradientPointPatchField.H for source file swakExplicitSources.C
could not open file CalculatedPointPatchField.H for source file swakExplicitSources.C

why it cant open these and many other headers?whats the problem?is compilation ok despite of these messages?

gschaider February 17, 2013 06:08

Quote:

Originally Posted by immortality (Post 408262)
is this message an error?
Code:

No 'swakConfiguration'. Python etc won't work

No.

(The message board needs to have at least 10 characters so I'll add an aside: I don't want to imagine the amount of questions you'll ask once you start with Python)

gschaider February 17, 2013 06:12

Quote:

Originally Posted by immortality (Post 408264)
and also these:
Code:

lex.fvexpr.c:60969:22: warning: use of old-style cast [-Wold-style-cast]
Code:

lex.parserSubset.c:10227:57: warning: use of old-style cast [-Wold-style-cast]
lex.parserSubset.c:10227:57: warning: use of old-style cast [-Wold-style-cast]

[CODElex.parserSubset.c:11798:16: warning: ‘int yy_top_state(yyscan_t)’ defined but not used [-Wunused-function]
][/CODE]
and also:
Code:

position.hh:136:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
and many of these sentences:
Code:

Making dependency list for source file swakExplicitSources.C
could not open file FixedValuePointPatchField.H for source file swakExplicitSources.C
could not open file ZeroGradientPointPatchField.H for source file swakExplicitSources.C
could not open file CalculatedPointPatchField.H for source file swakExplicitSources.C

why it cant open these and many other headers?whats the problem?is compilation ok despite of these messages?

I said it elsewhere: the warnings are ONLY warnings (in computer generated code. So there is not much that can be done about it)

"Could not open file" is an artefact of the utility that determines the dependenies of the source files. It is completely irrelevant

immortality February 17, 2013 06:58

allright.then these are not any problems and compilation is ok?


All times are GMT -4. The time now is 18:38.