Skip to content

Commit d069dbf

Browse files
authored
Fix #12029 (Fix definitions of global constants) (#5504)
1 parent 1b3fa2a commit d069dbf

6 files changed

Lines changed: 909 additions & 872 deletions

File tree

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ LIBOBJ = $(libcppdir)/valueflow.o \
203203
$(libcppdir)/checkbufferoverrun.o \
204204
$(libcppdir)/checkclass.o \
205205
$(libcppdir)/checkcondition.o \
206+
$(libcppdir)/checkers.o \
206207
$(libcppdir)/checkersreport.o \
207208
$(libcppdir)/checkexceptionsafety.o \
208209
$(libcppdir)/checkfunctions.o \
@@ -498,6 +499,9 @@ $(libcppdir)/checkclass.o: lib/checkclass.cpp externals/tinyxml2/tinyxml2.h lib/
498499
$(libcppdir)/checkcondition.o: lib/checkcondition.cpp lib/astutils.h lib/check.h lib/checkcondition.h lib/checkother.h lib/config.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/smallvector.h lib/sourcelocation.h lib/standards.h lib/suppressions.h lib/symboldatabase.h lib/templatesimplifier.h lib/token.h lib/tokenize.h lib/tokenlist.h lib/utils.h lib/vfvalue.h
499500
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checkcondition.cpp
500501

502+
$(libcppdir)/checkers.o: lib/checkers.cpp lib/checkers.h lib/config.h
503+
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checkers.cpp
504+
501505
$(libcppdir)/checkersreport.o: lib/checkersreport.cpp lib/checkers.h lib/checkersreport.h lib/config.h lib/errortypes.h lib/importproject.h lib/library.h lib/mathlib.h lib/platform.h lib/settings.h lib/standards.h lib/suppressions.h lib/utils.h
502506
$(CXX) ${INCLUDE_FOR_LIB} $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $(libcppdir)/checkersreport.cpp
503507

0 commit comments

Comments
 (0)