[Midnight Commander] #239: double declaration of bool false and true (conflicting with stdbool.h)

Ticket System tickets at midnight-commander.org
Wed Feb 4 07:00:36 UTC 2009


#239: double declaration of bool false and true (conflicting with stdbool.h)
---------------------------------------------------+------------------------
  Reporter:  Patrick Winnertz <winnie at debian.org>  |       Owner:  metux           
      Type:  defect                                |      Status:  reopened        
  Priority:  major                                 |   Milestone:  4.6.3           
 Component:  mc-core                               |     Version:  4.6.2           
Resolution:                                        |    Keywords:  committed-master
  Blocking:                                        |   Blockedby:                  
---------------------------------------------------+------------------------

Comment(by Patrick Winnertz):

 Hey,

 > ?Semms <stdbool.h> is gcc-specific. It's OK if you don't care about
 other
 > ?compilers.
 No.. stdbool.h is not gcc-specific, it's part of C99:

 http://en.wikipedia.org/wiki/Stdbool.h

 Greetings
 Winnie

-- 
Ticket URL: <www.midnight-commander.org/ticket/239#comment:>
Midnight Commander <www.midnight-commander.org>
Midnight Development Center


More information about the mc-devel mailing list