#3405 closed defect (invalid)
Fix "implicit declaration" of functions
Reported by: | Adrian Pop | Owned by: | Lennart Ochel |
---|---|---|---|
Priority: | high | Milestone: | never |
Component: | Code Generation | Version: | trunk |
Keywords: | Cc: |
Description
It seems that the .h file we include doesn't contain some functions used.
The problem is that they end up being defined implicitly which means "int func" instead of "ptr_size func" which might cause problems.
See for example:
https://test.openmodelica.org/hudson/job/OpenModelica_BUILD_CLANG/lastBuild/consoleFull
IDA-LIU050+adrpo@ida-liu050 MINGW64 /f $ fgrep "implicit declaration of" consoleText.txt build/StateMachineFeatures.c:550:8: warning: implicit declaration of function 'boxptr_ExpressionDump_dumpExpStr' is invalid in C99 [-Wimplicit-function-declaration] build/Patternm.c:8480:10: warning: implicit declaration of function 'omc_Ceval_ceval' is invalid in C99 [-Wimplicit-function-declaration] build/Patternm.c:8481:12: warning: implicit declaration of function 'omc_ValuesUtil_valueExp' is invalid in C99 [-Wimplicit-function-declaration] /run/shm/OpenModelica_BUILD_CLANG/OpenModelica-clang/OMCompiler/Compiler/boot/build/tmp/StateMachineFeatures.c:579:10: warning: implicit declaration of function 'boxptr_ExpressionDump_dumpExpStr' is invalid in C99 [-Wimplicit-function-declaration]
Change History (2)
comment:1 by , 9 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 9 years ago
Milestone: | Future → never |
---|
Sorting away the closed as invalid, won't fix and duplicate tickets from Future.
Note:
See TracTickets
for help on using tickets.
This only happens for the code inside bootstrap-sources.tar.xz, not the generated code with the built compiler. Maybe we should update bootstrap-sources.tar.xz to the latest?