Issue Details (XML | Word | Printable)

Key: PCC-371
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Iain Hibbert
Reporter: TAKAHASHI Tamotsu
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

add -Wno-error=... option

Created: 11/Jul/11 02:09 PM   Updated: 10/Aug/12 09:03 AM
Component/s: C frontend, Common code, pcc backend
Affects Version/s: None
Fix Version/s: None

File Attachments: 1. File werror.diff (4 kB)

 Description  « Hide
gcc has the "-Werror=..." and "-Wno-error=..." specifier.
I think this is really useful because pcc builds itself with -Werror unless -Wtruncate is used.
So it may be reasonable to implement and use "-Werror -Wno-error=truncate".
(The attached diff is just a PoC. The current pcc can't build it because of -Werror
without -Wno-error=truncate. Also, I'm not a so experienced programmer.)

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Iain Hibbert made changes - 14/Nov/11 12:46 PM
Field Original Value New Value
Assignee Iain Hibbert [ plunky ]
Iain Hibbert made changes - 10/Aug/12 09:03 AM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]