Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Warning for unused variables

Intel_C_Intel
Employee
401 Views
Is there a way to have the compiler warn me if a variable is defined, but never used?
0 Kudos
1 Reply
Steven_L_Intel1
Employee
401 Views
This was added in 5.0C or D, I think. /warn:unused It's certainly in 6.0.

Steve
0 Kudos
Reply