Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to disable [-Wreorder] warning (Read 4589 times)
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
How to disable [-Wreorder] warning
Jul 5th, 2016 at 2:13pm
Print Post  
The [-Wreorder] is polluting my build output with lots of messages I don't care about. I know it is possible to disable it by changing it to -Wno-reorder but I have no clue about how to make this change.

A search for [-Wreorder] or simply Wreorder returns no matches. 

Can I make this change? If so how?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How to disable [-Wreorder] warning
Reply #1 - Jul 5th, 2016 at 2:20pm
Print Post  
If you have vMicro>Compiler>Warnings switched on then you will see all warnings.

You might be able to use the visual micro project properties > extra switches to set -Wno-reorder

Does this make sense?
  
Back to top
IP Logged
 
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Re: How to disable [-Wreorder] warning
Reply #2 - Jul 5th, 2016 at 3:26pm
Print Post  
Yes - I added -Wno-reorder to Extra cpp flags and the Wreorder warnings disappeared.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How to disable [-Wreorder] warning
Reply #3 - Jul 5th, 2016 at 3:36pm
Print Post  
Great thanks for letting me know
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint