SoS:all warning treated as error

228 views
Skip to first unread message

DreamLover

unread,
Nov 3, 2011, 9:53:49 AM11/3/11
to ns-3-users
I' m a new-hand for NS3. when I use it. It said "
variable ‘cur’ set but not used [-Werror=unused-but-set-variable]
cc1plus:all warning treated as error. "

I search the solution by google. someone said "...need to
disable "treat warnings as errors" on the wscript"

How should I do? change where?

Mitch Watrous

unread,
Nov 3, 2011, 3:06:40 PM11/3/11
to ns-3-users
Hi,

The easiest solution is to just use the variable cur or remove it.

Thanks,
Mitch

Alessandro Russo

unread,
Nov 9, 2011, 2:41:22 AM11/9/11
to ns-3-...@googlegroups.com
check this section
http://www.nsnam.org/wiki/index.php/Troubleshooting#Platform-specific_issues

 Alessandro  R.


--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.


Reply all
Reply to author
Forward
0 new messages