---

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

**Status:** new
**Milestone:** 0.9.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.
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to