<< Back to previous view

[PCC-325] -WW and #pgrama Unknown => error Created: 19/Apr/11  Updated: 27/Jul/11

Status: Closed
Project: pcc
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Fred J. Tydeman Assignee: Iain Hibbert
Resolution: Fixed Votes: 0
Environment: Intel x86 (32 or 64 bit mode); Linux Fedora Core 14 (32 or 64 bit mode); pcc of 2011/04/01

File Attachments: File patch    

Using the command line option -WW to enable all warnings treats
  #pragma Unknown
as an error (instead of a warning)

Comment by Iain Hibbert [ 11/Jun/11 09:44 PM ]
This is because -WW enables -Werror as well (by mistake?)

the attached patch fixes that by moving -Werror handling out of the 'Warnings' list
Comment by Iain Hibbert [ 27/Jul/11 05:09 PM ]
I fixed this by moving the Werror handling out of the generic Warnings
list, so -WW does not include -Werror
Generated at Thu Oct 19 05:31:23 CEST 2017 using JIRA Enterprise Edition, Version: 3.13.1-#333.