Skip to content

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

@phcerdan

Description

@phcerdan

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 2af1e31 )

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions