- **status**: new --> closed
- **Milestone**: 0.9.0 --> 0.11.0
- **Resolution**:  --> http://openocd.zylin.com/6271
- **Comment**:

fix merged



---

** [tickets:#257] Ungrounded divergence from C standard: GNU Extension "? :".**

**Status:** closed
**Milestone:** 0.11.0
**Created:** Tue Nov 12, 2019 11:32 PM UTC by Robin Kuzmin
**Last Updated:** Tue Nov 12, 2019 11:32 PM UTC
**Owner:** nobody


The *non-standard* GNU C Extension [6.8 Conditionals with Omitted 
Operands](https://gcc.gnu.org/onlinedocs/gcc/Conditionals.html#Conditionals) is 
used with *no reason*. Search for the fragment `? :` (question mark, space, 
colon) in the `.c` files.
The operand between `?` and `:` is *mandatory* in C (see [Conditional 
operator](https://en.cppreference.com/w/c/language/operator_other#Conditional_operator))
 and [in 
C++](https://en.cppreference.com/w/cpp/language/operator_other#Conditional_operator).


---

Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/openocd/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.


Reply via email to