BRAINSTools icon indicating copy to clipboard operation
BRAINSTools copied to clipboard

Warning: #define main ModuleEntryPoint (-fvar-tracking-assignments)

Open phcerdan opened this issue 5 years ago • 0 comments

Where on the platform does it happen?

Tested on linux (archlinux with latest stable packages: gcc8.2.1, cmake 3.13.4, etc).

How do we replicate the issue?

Compiling Slicer branch integrating itk5 (points to current master 2af1e31a8ead1471ae33656cf6b02dbb27feb217 )

Expected behavior (i.e. solution)

No warnings

Current Warning:

[2539/2622] Building CXX object Modules/CLI/ExpertAutomatedReg...AutomatedRegistrationLib.dir/ExpertAutomatedRegistration.cxx.o
In file included from Modules/CLI/CreateDICOMSeries/CreateDICOMSeries.cxx:19:
Modules/CLI/CreateDICOMSeries/CreateDICOMSeries.cxx: In function ‘int ModuleEntryPoint(int, char**)’:
Modules/CLI/CreateDICOMSeries/CreateDICOMSeriesCLP.h:1329:14: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
 #define main ModuleEntryPoint
              ^~~~~~~~~~~~~~~~
Modules/CLI/CreateDICOMSeries/CreateDICOMSeriesCLP.h:1329:14: note: in definition of macro ‘main’
 #define main ModuleEntryPoint
              ^~~~~~~~~~~~~~~~
[2556/2622] Building CXX object E/BRAINSTools/BRAINSDemonWarp/...SDemonWarpTemplatesLIB.dir/BRAINSDemonWarpTemplates_uint.cxx.o
In file included from Modules/CLI/ExpertAutomatedRegistration/ExpertAutomatedRegistration.cxx:2:
Modules/CLI/ExpertAutomatedRegistration/ExpertAutomatedRegistration.cxx: In function ‘int ModuleEntryPoint(int, char**)’:
Modules/CLI/ExpertAutomatedRegistration/ExpertAutomatedRegistrationCLP.h:1273:14: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
 #define main ModuleEntryPoint
              ^~~~~~~~~~~~~~~~
Modules/CLI/ExpertAutomatedRegistration/ExpertAutomatedRegistration.cxx:680:5: note: in expansion of macro ‘main’
 int main( int argc, char * argv[] )
     ^~~~
[2572/2622] Building CXX object E/BRAINSTools/BRAINSTransformC...les/BRAINSTransformConvertLib.dir/BRAINSTransformConvert.cxx.o
In file included from BRAINSTools/BRAINSFit/BRAINSFit.cxx:25:
BRAINSTools/BRAINSFit/BRAINSFit.cxx: In function ‘int ModuleEntryPoint(int, char**)’:
E/BRAINSTools/BRAINSFit/BRAINSFitCLP.h:2708:14: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
 #define main ModuleEntryPoint
              ^~~~~~~~~~~~~~~~
E/BRAINSTools/BRAINSFit/BRAINSFitCLP.h:2708:14: note: in definition of macro ‘main’
 #define main ModuleEntryPoint

phcerdan avatar Mar 08 '19 20:03 phcerdan