Install Log
Install Log
[MATIEC COMPILER]
configure.ac:22: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from...
./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from...
configure.ac:22: the top level
configure.ac:22: installing 'config/compile'
configure.ac:61: installing 'config/config.guess'
configure.ac:61: installing 'config/config.sub'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/highwayman/Downloads/PLC
Simulator/OpenPLC_v3/utils/matiec_src/config/missing: Unknown `--is-lightweight'
option
Try `/home/highwayman/Downloads/PLC
Simulator/OpenPLC_v3/utils/matiec_src/config/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for bison... bison -y
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for flex... flex
checking for lex output file root... lex.yy
checking for lex library... none needed
checking for library containing yywrap... -ll
checking whether yytext is a pointer... yes
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... gcc3
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for gawk... (cached) gawk
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for sys/time.h... yes
checking for float.h... yes
checking for limits.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/timeb.h... yes
checking for unistd.h... (cached) yes
checking for _Bool... yes
checking for stdbool.h that conforms to C99... yes
checking for inline... inline
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for GNU libc compatible malloc... yes
checking for alarm... yes
checking for working mktime... yes
checking for GNU libc compatible realloc... yes
checking for clock_gettime... yes
checking for memset... yes
checking for pow... no
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for strtoull... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating absyntax/Makefile
config.status: creating absyntax_utils/Makefile
config.status: creating stage1_2/Makefile
config.status: creating stage3/Makefile
config.status: creating stage4/Makefile
config.status: creating stage4/generate_c/Makefile
config.status: creating stage4/generate_iec/Makefile
config.status: creating config/config.h
config.status: executing depfiles commands
Making all in absyntax
make[1]: Entering directory '/home/highwayman/Downloads/PLC
Simulator/OpenPLC_v3/utils/matiec_src/absyntax'
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT absyntax.o -MD -MP -MF .deps/absyntax.Tpo -c -o absyntax.o
absyntax.cc
mv -f .deps/absyntax.Tpo .deps/absyntax.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT visitor.o -MD -MP -MF .deps/visitor.Tpo -c -o visitor.o visitor.cc
mv -f .deps/visitor.Tpo .deps/visitor.Po
rm -f libabsyntax.a
ar cru libabsyntax.a absyntax.o visitor.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libabsyntax.a
make[1]: Leaving directory '/home/highwayman/Downloads/PLC
Simulator/OpenPLC_v3/utils/matiec_src/absyntax'
Making all in absyntax_utils
make[1]: Entering directory '/home/highwayman/Downloads/PLC
Simulator/OpenPLC_v3/utils/matiec_src/absyntax_utils'
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT absyntax_utils.o -MD -MP -MF .deps/absyntax_utils.Tpo -c -o
absyntax_utils.o absyntax_utils.cc
mv -f .deps/absyntax_utils.Tpo .deps/absyntax_utils.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT add_en_eno_param_decl.o -MD -MP -MF
.deps/add_en_eno_param_decl.Tpo -c -o add_en_eno_param_decl.o
add_en_eno_param_decl.cc
mv -f .deps/add_en_eno_param_decl.Tpo .deps/add_en_eno_param_decl.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT decompose_var_instance_name.o -MD -MP -MF
.deps/decompose_var_instance_name.Tpo -c -o decompose_var_instance_name.o
decompose_var_instance_name.cc
mv -f .deps/decompose_var_instance_name.Tpo .deps/decompose_var_instance_name.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT array_dimension_iterator.o -MD -MP -MF
.deps/array_dimension_iterator.Tpo -c -o array_dimension_iterator.o
array_dimension_iterator.cc
mv -f .deps/array_dimension_iterator.Tpo .deps/array_dimension_iterator.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT case_element_iterator.o -MD -MP -MF
.deps/case_element_iterator.Tpo -c -o case_element_iterator.o
case_element_iterator.cc
mv -f .deps/case_element_iterator.Tpo .deps/case_element_iterator.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT function_call_iterator.o -MD -MP -MF
.deps/function_call_iterator.Tpo -c -o function_call_iterator.o
function_call_iterator.cc
mv -f .deps/function_call_iterator.Tpo .deps/function_call_iterator.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT function_call_param_iterator.o -MD -MP -MF
.deps/function_call_param_iterator.Tpo -c -o function_call_param_iterator.o
function_call_param_iterator.cc
mv -f .deps/function_call_param_iterator.Tpo .deps/function_call_param_iterator.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT function_param_iterator.o -MD -MP -MF
.deps/function_param_iterator.Tpo -c -o function_param_iterator.o
function_param_iterator.cc
mv -f .deps/function_param_iterator.Tpo .deps/function_param_iterator.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT get_sizeof_datatype.o -MD -MP -MF .deps/get_sizeof_datatype.Tpo -c
-o get_sizeof_datatype.o get_sizeof_datatype.cc
mv -f .deps/get_sizeof_datatype.Tpo .deps/get_sizeof_datatype.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT get_var_name.o -MD -MP -MF .deps/get_var_name.Tpo -c -o
get_var_name.o get_var_name.cc
mv -f .deps/get_var_name.Tpo .deps/get_var_name.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT search_il_label.o -MD -MP -MF .deps/search_il_label.Tpo -c -o
search_il_label.o search_il_label.cc
mv -f .deps/search_il_label.Tpo .deps/search_il_label.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT search_base_type.o -MD -MP -MF .deps/search_base_type.Tpo -c -o
search_base_type.o search_base_type.cc
mv -f .deps/search_base_type.Tpo .deps/search_base_type.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT search_fb_instance_decl.o -MD -MP -MF
.deps/search_fb_instance_decl.Tpo -c -o search_fb_instance_decl.o
search_fb_instance_decl.cc
mv -f .deps/search_fb_instance_decl.Tpo .deps/search_fb_instance_decl.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT search_fb_typedecl.o -MD -MP -MF .deps/search_fb_typedecl.Tpo -c -
o search_fb_typedecl.o search_fb_typedecl.cc
mv -f .deps/search_fb_typedecl.Tpo .deps/search_fb_typedecl.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT search_varfb_instance_type.o -MD -MP -MF
.deps/search_varfb_instance_type.Tpo -c -o search_varfb_instance_type.o
search_varfb_instance_type.cc
mv -f .deps/search_varfb_instance_type.Tpo .deps/search_varfb_instance_type.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT search_var_instance_decl.o -MD -MP -MF
.deps/search_var_instance_decl.Tpo -c -o search_var_instance_decl.o
search_var_instance_decl.cc
mv -f .deps/search_var_instance_decl.Tpo .deps/search_var_instance_decl.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT spec_init_separator.o -MD -MP -MF .deps/spec_init_separator.Tpo -c
-o spec_init_separator.o spec_init_separator.cc
mv -f .deps/spec_init_separator.Tpo .deps/spec_init_separator.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT type_initial_value.o -MD -MP -MF .deps/type_initial_value.Tpo -c -
o type_initial_value.o type_initial_value.cc
mv -f .deps/type_initial_value.Tpo .deps/type_initial_value.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT debug_ast.o -MD -MP -MF .deps/debug_ast.Tpo -c -o debug_ast.o
debug_ast.cc
debug_ast.cc:59:63: warning: invalid suffix on literal; C++11 requires a space
between literal and string macro [-Wliteral-suffix]
59 | if (const_value. _int64.is_valid ()) fprintf(stderr, "%"PRId64"",
const_value. _int64.get());
| ^
debug_ast.cc:64:63: warning: invalid suffix on literal; C++11 requires a space
between literal and string macro [-Wliteral-suffix]
64 | if (const_value._uint64.is_valid ()) fprintf(stderr, "%"PRIu64"",
const_value._uint64.get());
| ^
mv -f .deps/debug_ast.Tpo .deps/debug_ast.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT get_datatype_info.o -MD -MP -MF .deps/get_datatype_info.Tpo -c -o
get_datatype_info.o get_datatype_info.cc
mv -f .deps/get_datatype_info.Tpo .deps/get_datatype_info.Po
rm -f libabsyntax_utils.a
ar cru libabsyntax_utils.a absyntax_utils.o add_en_eno_param_decl.o
decompose_var_instance_name.o array_dimension_iterator.o case_element_iterator.o
function_call_iterator.o function_call_param_iterator.o function_param_iterator.o
get_sizeof_datatype.o get_var_name.o search_il_label.o search_base_type.o
search_fb_instance_decl.o search_fb_typedecl.o search_varfb_instance_type.o
search_var_instance_decl.o spec_init_separator.o type_initial_value.o
search_varfb_instance_type.o search_var_instance_decl.o spec_init_separator.o
type_initial_value.o debug_ast.o get_datatype_info.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libabsyntax_utils.a
make[1]: Leaving directory '/home/highwayman/Downloads/PLC
Simulator/OpenPLC_v3/utils/matiec_src/absyntax_utils'
Making all in stage1_2
make[1]: Entering directory '/home/highwayman/Downloads/PLC
Simulator/OpenPLC_v3/utils/matiec_src/stage1_2'
/bin/bash ../config/ylwrap iec_bison.yy y.tab.c iec_bison.cc y.tab.h `echo
iec_bison.cc | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e
s/c$/h/` y.output iec_bison.output -- bison -y -d
/home/highwayman/Downloads/PLC
Simulator/OpenPLC_v3/utils/matiec_src/stage1_2/iec_bison.yy:255.1-5: warning: POSIX
Yacc does not support %code [-Wyacc]
255 | %code requires {
| ^~~~~
updating iec_bison.hh
make all-am
make[2]: Entering directory '/home/highwayman/Downloads/PLC
Simulator/OpenPLC_v3/utils/matiec_src/stage1_2'
/bin/bash ../config/ylwrap iec_flex.ll lex.yy.c iec_flex.cc -- flex -olex.yy.c
g++ -DHAVE_CONFIG_H -I. -I../config -DDEFAULT_LIBDIR='"lib"' -I../../absyntax -
DYY_BUF_SIZE=65536 -fpermissive -g -Wall -Wpointer-arith -Wwrite-strings -Wno-
unused -MT libstage1_2_a-iec_flex.o -MD -MP -MF .deps/libstage1_2_a-iec_flex.Tpo
-c -o libstage1_2_a-iec_flex.o `test -f 'iec_flex.cc' || echo './'`iec_flex.cc
mv -f .deps/libstage1_2_a-iec_flex.Tpo .deps/libstage1_2_a-iec_flex.Po
g++ -DHAVE_CONFIG_H -I. -I../config -DDEFAULT_LIBDIR='"lib"' -I../../absyntax -
DYY_BUF_SIZE=65536 -fpermissive -g -Wall -Wpointer-arith -Wwrite-strings -Wno-
unused -MT libstage1_2_a-iec_bison.o -MD -MP -MF .deps/libstage1_2_a-
iec_bison.Tpo -c -o libstage1_2_a-iec_bison.o `test -f 'iec_bison.cc' || echo
'./'`iec_bison.cc
iec_bison.cc: In function ‘int yyparse()’:
iec_bison.cc:18216:18: warning: ‘void free(void*)’ called on unallocated object
‘yyssa’ [-Wfree-nonheap-object]
18216 | YYSTACK_FREE (yyss);
iec_bison.cc:9110:16: note: declared here
9110 | yy_state_t yyssa[YYINITDEPTH];
| ^~~~~
mv -f .deps/libstage1_2_a-iec_bison.Tpo .deps/libstage1_2_a-iec_bison.Po
g++ -DHAVE_CONFIG_H -I. -I../config -DDEFAULT_LIBDIR='"lib"' -I../../absyntax -
DYY_BUF_SIZE=65536 -fpermissive -g -Wall -Wpointer-arith -Wwrite-strings -Wno-
unused -MT libstage1_2_a-create_enumtype_conversion_functions.o -MD -MP -
MF .deps/libstage1_2_a-create_enumtype_conversion_functions.Tpo -c -o
libstage1_2_a-create_enumtype_conversion_functions.o `test -f
'create_enumtype_conversion_functions.cc' || echo
'./'`create_enumtype_conversion_functions.cc
mv -f .deps/libstage1_2_a-create_enumtype_conversion_functions.Tpo
.deps/libstage1_2_a-create_enumtype_conversion_functions.Po
g++ -DHAVE_CONFIG_H -I. -I../config -DDEFAULT_LIBDIR='"lib"' -I../../absyntax -
DYY_BUF_SIZE=65536 -fpermissive -g -Wall -Wpointer-arith -Wwrite-strings -Wno-
unused -MT libstage1_2_a-stage1_2.o -MD -MP -MF .deps/libstage1_2_a-stage1_2.Tpo
-c -o libstage1_2_a-stage1_2.o `test -f 'stage1_2.cc' || echo './'`stage1_2.cc
mv -f .deps/libstage1_2_a-stage1_2.Tpo .deps/libstage1_2_a-stage1_2.Po
rm -f libstage1_2.a
ar cru libstage1_2.a libstage1_2_a-iec_flex.o libstage1_2_a-iec_bison.o
libstage1_2_a-create_enumtype_conversion_functions.o libstage1_2_a-stage1_2.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libstage1_2.a
make[2]: Leaving directory '/home/highwayman/Downloads/PLC
Simulator/OpenPLC_v3/utils/matiec_src/stage1_2'
make[1]: Leaving directory '/home/highwayman/Downloads/PLC
Simulator/OpenPLC_v3/utils/matiec_src/stage1_2'
Making all in stage3
make[1]: Entering directory '/home/highwayman/Downloads/PLC
Simulator/OpenPLC_v3/utils/matiec_src/stage3'
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT stage3.o -MD -MP -MF .deps/stage3.Tpo -c -o stage3.o stage3.cc
mv -f .deps/stage3.Tpo .deps/stage3.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT flow_control_analysis.o -MD -MP -MF
.deps/flow_control_analysis.Tpo -c -o flow_control_analysis.o
flow_control_analysis.cc
mv -f .deps/flow_control_analysis.Tpo .deps/flow_control_analysis.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT fill_candidate_datatypes.o -MD -MP -MF
.deps/fill_candidate_datatypes.Tpo -c -o fill_candidate_datatypes.o
fill_candidate_datatypes.cc
mv -f .deps/fill_candidate_datatypes.Tpo .deps/fill_candidate_datatypes.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT narrow_candidate_datatypes.o -MD -MP -MF
.deps/narrow_candidate_datatypes.Tpo -c -o narrow_candidate_datatypes.o
narrow_candidate_datatypes.cc
mv -f .deps/narrow_candidate_datatypes.Tpo .deps/narrow_candidate_datatypes.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT forced_narrow_candidate_datatypes.o -MD -MP -MF
.deps/forced_narrow_candidate_datatypes.Tpo -c -o
forced_narrow_candidate_datatypes.o forced_narrow_candidate_datatypes.cc
mv -f .deps/forced_narrow_candidate_datatypes.Tpo
.deps/forced_narrow_candidate_datatypes.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT print_datatypes_error.o -MD -MP -MF
.deps/print_datatypes_error.Tpo -c -o print_datatypes_error.o
print_datatypes_error.cc
mv -f .deps/print_datatypes_error.Tpo .deps/print_datatypes_error.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT datatype_functions.o -MD -MP -MF .deps/datatype_functions.Tpo -c -
o datatype_functions.o datatype_functions.cc
mv -f .deps/datatype_functions.Tpo .deps/datatype_functions.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT lvalue_check.o -MD -MP -MF .deps/lvalue_check.Tpo -c -o
lvalue_check.o lvalue_check.cc
mv -f .deps/lvalue_check.Tpo .deps/lvalue_check.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT array_range_check.o -MD -MP -MF .deps/array_range_check.Tpo -c -o
array_range_check.o array_range_check.cc
array_range_check.cc:138:40: warning: invalid suffix on literal; C++11 requires a
space between literal and string macro [-Wliteral-suffix]
138 | {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using
constant value of %"PRId64", should be >= %"PRId64").", GET_CVALUE( int64, l-
>elements[i]), GET_CVALUE( int64, dimension->lower_limit)); continue;}
| ^
array_range_check.cc:138:101: warning: invalid suffix on literal; C++11 requires a
space between literal and string macro [-Wliteral-suffix]
138 | {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using
constant value of %"PRId64", should be >= %"PRId64").", GET_CVALUE( int64, l-
>elements[i]), GET_CVALUE( int64, dimension->lower_limit)); continue;}
|
^
array_range_check.cc:142:40: warning: invalid suffix on literal; C++11 requires a
space between literal and string macro [-Wliteral-suffix]
142 | {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using
constant value of %"PRId64", should be >= %"PRIu64").", GET_CVALUE( int64, l-
>elements[i]), GET_CVALUE(uint64, dimension->lower_limit)); continue;}
| ^
array_range_check.cc:142:101: warning: invalid suffix on literal; C++11 requires a
space between literal and string macro [-Wliteral-suffix]
142 | {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using
constant value of %"PRId64", should be >= %"PRIu64").", GET_CVALUE( int64, l-
>elements[i]), GET_CVALUE(uint64, dimension->lower_limit)); continue;}
|
^
array_range_check.cc:146:40: warning: invalid suffix on literal; C++11 requires a
space between literal and string macro [-Wliteral-suffix]
146 | {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using
constant value of %"PRIu64", should be >= %"PRIu64").", GET_CVALUE(uint64, l-
>elements[i]), GET_CVALUE(uint64, dimension->lower_limit)); continue;}
| ^
array_range_check.cc:146:101: warning: invalid suffix on literal; C++11 requires a
space between literal and string macro [-Wliteral-suffix]
146 | {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using
constant value of %"PRIu64", should be >= %"PRIu64").", GET_CVALUE(uint64, l-
>elements[i]), GET_CVALUE(uint64, dimension->lower_limit)); continue;}
|
^
array_range_check.cc:150:40: warning: invalid suffix on literal; C++11 requires a
space between literal and string macro [-Wliteral-suffix]
150 | {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using
constant value of %"PRIu64", should be >= %"PRId64").", GET_CVALUE(uint64, l-
>elements[i]), GET_CVALUE( int64, dimension->lower_limit)); continue;}
| ^
array_range_check.cc:150:101: warning: invalid suffix on literal; C++11 requires a
space between literal and string macro [-Wliteral-suffix]
150 | {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using
constant value of %"PRIu64", should be >= %"PRId64").", GET_CVALUE(uint64, l-
>elements[i]), GET_CVALUE( int64, dimension->lower_limit)); continue;}
|
^
array_range_check.cc:155:40: warning: invalid suffix on literal; C++11 requires a
space between literal and string macro [-Wliteral-suffix]
155 | {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using
constant value of %"PRId64", should be <= %"PRId64").", GET_CVALUE( int64, l-
>elements[i]), GET_CVALUE( int64, dimension->upper_limit)); continue;}
| ^
array_range_check.cc:155:101: warning: invalid suffix on literal; C++11 requires a
space between literal and string macro [-Wliteral-suffix]
155 | {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using
constant value of %"PRId64", should be <= %"PRId64").", GET_CVALUE( int64, l-
>elements[i]), GET_CVALUE( int64, dimension->upper_limit)); continue;}
|
^
array_range_check.cc:159:40: warning: invalid suffix on literal; C++11 requires a
space between literal and string macro [-Wliteral-suffix]
159 | {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using
constant value of %"PRId64", should be <= %"PRIu64").", GET_CVALUE( int64, l-
>elements[i]), GET_CVALUE(uint64, dimension->upper_limit)); continue;}
| ^
array_range_check.cc:159:101: warning: invalid suffix on literal; C++11 requires a
space between literal and string macro [-Wliteral-suffix]
159 | {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using
constant value of %"PRId64", should be <= %"PRIu64").", GET_CVALUE( int64, l-
>elements[i]), GET_CVALUE(uint64, dimension->upper_limit)); continue;}
|
^
array_range_check.cc:163:40: warning: invalid suffix on literal; C++11 requires a
space between literal and string macro [-Wliteral-suffix]
163 | {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using
constant value of %"PRIu64", should be <= %"PRIu64").", GET_CVALUE(uint64, l-
>elements[i]), GET_CVALUE(uint64, dimension->upper_limit)); continue;}
| ^
array_range_check.cc:163:101: warning: invalid suffix on literal; C++11 requires a
space between literal and string macro [-Wliteral-suffix]
163 | {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using
constant value of %"PRIu64", should be <= %"PRIu64").", GET_CVALUE(uint64, l-
>elements[i]), GET_CVALUE(uint64, dimension->upper_limit)); continue;}
|
^
array_range_check.cc:167:40: warning: invalid suffix on literal; C++11 requires a
space between literal and string macro [-Wliteral-suffix]
167 | {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using
constant value of %"PRIu64", should be <= %"PRId64").", GET_CVALUE(uint64, l-
>elements[i]), GET_CVALUE( int64, dimension->upper_limit)); continue;}
| ^
array_range_check.cc:167:101: warning: invalid suffix on literal; C++11 requires a
space between literal and string macro [-Wliteral-suffix]
167 | {STAGE3_ERROR(0, symbol, symbol, "Array access out of bounds (using
constant value of %"PRIu64", should be <= %"PRId64").", GET_CVALUE(uint64, l-
>elements[i]), GET_CVALUE( int64, dimension->upper_limit)); continue;}
|
^
array_range_check.cc:202:57: warning: invalid suffix on literal; C++11 requires a
space between literal and string macro [-Wliteral-suffix]
202 | STAGE3_ERROR(0, symbol, symbol, "Subrange has lower
limit (%"PRId64") larger than upper limit (%"PRId64").", GET_CVALUE( int64, symbol-
>lower_limit), GET_CVALUE( int64, symbol->upper_limit));
| ^
array_range_check.cc:202:92: warning: invalid suffix on literal; C++11 requires a
space between literal and string macro [-Wliteral-suffix]
202 | STAGE3_ERROR(0, symbol, symbol, "Subrange has lower
limit (%"PRId64") larger than upper limit (%"PRId64").", GET_CVALUE( int64, symbol-
>lower_limit), GET_CVALUE( int64, symbol->upper_limit));
|
^
array_range_check.cc:212:57: warning: invalid suffix on literal; C++11 requires a
space between literal and string macro [-Wliteral-suffix]
212 | STAGE3_ERROR(0, symbol, symbol, "Subrange has lower
limit (%"PRIu64") larger than upper limit (%"PRIu64").", GET_CVALUE(uint64, symbol-
>lower_limit), GET_CVALUE(uint64, symbol->upper_limit));
| ^
array_range_check.cc:212:92: warning: invalid suffix on literal; C++11 requires a
space between literal and string macro [-Wliteral-suffix]
212 | STAGE3_ERROR(0, symbol, symbol, "Subrange has lower
limit (%"PRIu64") larger than upper limit (%"PRIu64").", GET_CVALUE(uint64, symbol-
>lower_limit), GET_CVALUE(uint64, symbol->upper_limit));
|
^
mv -f .deps/array_range_check.Tpo .deps/array_range_check.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT case_elements_check.o -MD -MP -MF .deps/case_elements_check.Tpo -c
-o case_elements_check.o case_elements_check.cc
mv -f .deps/case_elements_check.Tpo .deps/case_elements_check.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT constant_folding.o -MD -MP -MF .deps/constant_folding.Tpo -c -o
constant_folding.o constant_folding.cc
mv -f .deps/constant_folding.Tpo .deps/constant_folding.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT declaration_check.o -MD -MP -MF .deps/declaration_check.Tpo -c -o
declaration_check.o declaration_check.cc
mv -f .deps/declaration_check.Tpo .deps/declaration_check.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT enum_declaration_check.o -MD -MP -MF
.deps/enum_declaration_check.Tpo -c -o enum_declaration_check.o
enum_declaration_check.cc
mv -f .deps/enum_declaration_check.Tpo .deps/enum_declaration_check.Po
g++ -DHAVE_CONFIG_H -I. -I../config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -MT remove_forward_dependencies.o -MD -MP -MF
.deps/remove_forward_dependencies.Tpo -c -o remove_forward_dependencies.o
remove_forward_dependencies.cc
mv -f .deps/remove_forward_dependencies.Tpo .deps/remove_forward_dependencies.Po
rm -f libstage3.a
ar cru libstage3.a stage3.o flow_control_analysis.o fill_candidate_datatypes.o
narrow_candidate_datatypes.o forced_narrow_candidate_datatypes.o
print_datatypes_error.o datatype_functions.o lvalue_check.o array_range_check.o
case_elements_check.o constant_folding.o declaration_check.o
enum_declaration_check.o remove_forward_dependencies.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libstage3.a
make[1]: Leaving directory '/home/highwayman/Downloads/PLC
Simulator/OpenPLC_v3/utils/matiec_src/stage3'
Making all in stage4
make[1]: Entering directory '/home/highwayman/Downloads/PLC
Simulator/OpenPLC_v3/utils/matiec_src/stage4'
Making all in generate_c
make[2]: Entering directory '/home/highwayman/Downloads/PLC
Simulator/OpenPLC_v3/utils/matiec_src/stage4/generate_c'
g++ -DHAVE_CONFIG_H -I. -I../../config -I../../../absyntax -g -Wall -Wpointer-
arith -Wwrite-strings -Wno-unused -MT libstage4_c_a-generate_c.o -MD -MP -
MF .deps/libstage4_c_a-generate_c.Tpo -c -o libstage4_c_a-generate_c.o `test -f
'generate_c.cc' || echo './'`generate_c.cc
In file included from generate_c.cc:525:
generate_c_il.cc: In member function ‘virtual void*
generate_c_il_c::visit(il_function_call_c*)’:
generate_c_il.cc:957:11: warning: this ‘if’ clause does not guard... [-Wmisleading-
indentation]
957 | if (nb_param > 0)
| ^~
generate_c_il.cc:959:13: note: ...this statement, but the latter is misleadingly
indented as if it were guarded by the ‘if’
959 | if (param_value == NULL) {
| ^~
mv -f .deps/libstage4_c_a-generate_c.Tpo .deps/libstage4_c_a-generate_c.Po
g++ -DHAVE_CONFIG_H -I. -I../../config -g -Wall -Wpointer-arith -Wwrite-strings
-Wno-unused -MT ../stage4.o -MD -MP -MF .deps/../stage4.Tpo -c -o
../stage4.o ../stage4.cc
mv -f .deps/../stage4.Tpo .deps/../stage4.Po
rm -f libstage4_c.a
ar cru libstage4_c.a libstage4_c_a-generate_c.o ../stage4.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libstage4_c.a
make[2]: Leaving directory '/home/highwayman/Downloads/PLC
Simulator/OpenPLC_v3/utils/matiec_src/stage4/generate_c'
Making all in generate_iec
make[2]: Entering directory '/home/highwayman/Downloads/PLC
Simulator/OpenPLC_v3/utils/matiec_src/stage4/generate_iec'
g++ -DHAVE_CONFIG_H -I. -I../../config -I../../../absyntax -g -Wall -Wpointer-
arith -Wwrite-strings -Wno-unused -MT libstage4_iec_a-generate_iec.o -MD -MP -
MF .deps/libstage4_iec_a-generate_iec.Tpo -c -o libstage4_iec_a-generate_iec.o
`test -f 'generate_iec.cc' || echo './'`generate_iec.cc
mv -f .deps/libstage4_iec_a-generate_iec.Tpo .deps/libstage4_iec_a-generate_iec.Po
rm -f libstage4_iec.a
ar cru libstage4_iec.a libstage4_iec_a-generate_iec.o ../stage4.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libstage4_iec.a
make[2]: Leaving directory '/home/highwayman/Downloads/PLC
Simulator/OpenPLC_v3/utils/matiec_src/stage4/generate_iec'
make[2]: Entering directory '/home/highwayman/Downloads/PLC
Simulator/OpenPLC_v3/utils/matiec_src/stage4'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/home/highwayman/Downloads/PLC
Simulator/OpenPLC_v3/utils/matiec_src/stage4'
make[1]: Leaving directory '/home/highwayman/Downloads/PLC
Simulator/OpenPLC_v3/utils/matiec_src/stage4'
make[1]: Entering directory '/home/highwayman/Downloads/PLC
Simulator/OpenPLC_v3/utils/matiec_src'
g++ -DHAVE_CONFIG_H -I. -I./config -g -Wall -Wpointer-arith -Wwrite-strings -
Wno-unused -DHGVERSION="\"\"" -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o
main.cc
mv -f .deps/main.Tpo .deps/main.Po
g++ -g -Wall -Wpointer-arith -Wwrite-strings -Wno-unused -DHGVERSION="\"\"" -o
iec2c main.o stage1_2/libstage1_2.a stage3/libstage3.a
stage4/generate_c/libstage4_c.a absyntax/libabsyntax.a
absyntax_utils/libabsyntax_utils.a
g++ -g -Wall -Wpointer-arith -Wwrite-strings -Wno-unused -DHGVERSION="\"\"" -o
iec2iec main.o stage1_2/libstage1_2.a stage3/libstage3.a
stage4/generate_iec/libstage4_iec.a absyntax/libabsyntax.a
absyntax_utils/libabsyntax_utils.a
make[1]: Leaving directory '/home/highwayman/Downloads/PLC
Simulator/OpenPLC_v3/utils/matiec_src'
[ST OPTIMIZER]
[GLUE GENERATOR]
[OPEN DNP3]
creating swapfile...
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB, 1000 MiB) copied, 2.28283 s, 459 MB/s
mkswap: swapfile: insecure permissions 0644, fix with: chmod 0600 swapfile
Setting up swapspace version 1, size = 1000 MiB (1048571904 bytes)
no label, UUID=c1eca86a-c90b-4cf2-b613-f6a5cd3db622
swapon: /home/highwayman/Downloads/PLC
Simulator/OpenPLC_v3/utils/dnp3_src/swapfile: insecure permissions 0644, 0600
suggested.
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
[LIBMODBUS]
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: linking file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: linking file 'm4/libtool.m4'
libtoolize: linking file 'm4/ltoptions.m4'
libtoolize: linking file 'm4/ltsugar.m4'
libtoolize: linking file 'm4/ltversion.m4'
libtoolize: linking file 'm4/lt~obsolete.m4'
configure.ac:33: warning: The macro `AC_PROG_CC_STDC' is obsolete.
configure.ac:33: You should run autoupdate.
./lib/autoconf/c.m4:1666: AC_PROG_CC_STDC is expanded from...
configure.ac:33: the top level
configure.ac:33: installing 'build-aux/compile'
configure.ac:56: installing 'build-aux/config.guess'
configure.ac:56: installing 'build-aux/config.sub'
configure.ac:32: installing 'build-aux/install-sh'
configure.ac:32: installing 'build-aux/missing'
src/Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
------------------------------------------------------
Initialized build system. You can now run ./configure
------------------------------------------------------
libmodbus 3.1.4
===============
prefix: /usr/local
sysconfdir: ${prefix}/etc
libdir: ${exec_prefix}/lib
includedir: ${prefix}/include
compiler: gcc
cflags: -g -O2
ldflags:
documentation: no
tests: yes
[OPENPLC SERVICE]
Enabling OpenPLC Service...
Created symlink /etc/systemd/system/multi-user.target.wants/openplc.service →
/lib/systemd/system/openplc.service.
[FINALIZING]
Activating Blank driver
Setting Platform
Optimizing ST program...
Generating C files...
POUS.c
POUS.h
LOCATED_VARIABLES.h
VARIABLES.csv
Config0.c
Config0.h
Res0.c
Moving Files...
Compiling for Linux
Generating object files...
Generating glueVars...
Compiling main program...
Compilation finished successfully!