You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
--- !ditz.rubyforge.org,2008-03-06/issue
|
|
|
|
title: "duk_features: fix expressions like: #if defined(FOO) && (FOO >= XXX)"
|
|
|
|
desc: |-
|
|
|
|
If FOO is not defined, the comparison will be a syntax error, at least on
|
|
|
|
some older compilers.
|
|
|
|
|
|
|
|
One fix is to nest #ifdefs::
|
|
|
|
|
|
|
|
#if defined(FOO)
|
|
|
|
#if (FOO >= XXX)
|
|
|
|
/* ... */
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
This often leads to awkward preprocessor expressions but maybe cannot be
|
|
|
|
avoided.
|
|
|
|
type: :task
|
|
|
|
component: duk
|
|
|
|
release: v1.2
|
|
|
|
reporter: Sami Vaarala <sami.vaarala@iki.fi>
|
|
|
|
status: :unstarted
|
|
|
|
disposition:
|
|
|
|
creation_time: 2014-07-08 22:48:15.160794 Z
|
|
|
|
references: []
|
|
|
|
|
|
|
|
id: c83699575ff304e2acddc8b527c17848e3be37e6
|
|
|
|
log_events:
|
|
|
|
- - 2014-07-08 22:48:15.161606 Z
|
|
|
|
- Sami Vaarala <sami.vaarala@iki.fi>
|
|
|
|
- created
|
|
|
|
- ""
|
|
|
|
- - 2014-09-09 11:35:44.891031 Z
|
|
|
|
- Sami Vaarala <sami.vaarala@iki.fi>
|
|
|
|
- assigned to release v1.1 from v0.12
|
|
|
|
- ""
|
|
|
|
- - 2014-11-02 00:25:28.550237 Z
|
|
|
|
- Sami Vaarala <sami.vaarala@iki.fi>
|
|
|
|
- assigned to release v1.2 from v1.1
|
|
|
|
- ""
|