Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
phcerdan opened this issue Mar 8, 2019 · 0 comments
Open

Comments

@phcerdan
Copy link
Contributor

phcerdan commented Mar 8, 2019

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant