This is the mail archive of the mailing list for the eCos project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001344] Allow nc_test_slave for lwIP to compile for targetswith 128KiB RAM.

Please do not reply to this email. Use the web interface provided at:

--- Comment #26 from Ilija Kocho <> 2012-05-17 18:03:56 BST ---
(In reply to comment #25)
> (In reply to comment #24)
> > 
> > In the case of the addition of CYGBLD_ATTRIB_UNUSED, I think it should be
> > CYGBLD_ATTRIB_USED, otherwise the calculation may be thrown away which defeats
> > the purpose.
> To be clear, assuming you agree with that change, then please go ahead and
> commit.

CYGBLD_ATTRIB_USED won't suppress the warning:

In function âdo_some_random_computationâ:
warning: âusedâ attribute ignored [-Wattributes]
warning: variable âxâ set but not used [-Wunused-but-set-variable]

CYGBLD_ATTRIB_UNUSED, contrary to what it's name implies, will keep the
variable. Ref: Bug 1001520

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]