Skip to content

Warnings  #13

@mulle-nat

Description

@mulle-nat
/Volumes/Source/srcO/mulle-objc/mulle-objc-debug/src/mulle-objc-csvdump.c:162:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
   while( list = _mulle_concurrent_pointerarrayreverseenumerator_next( &rover))
          ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Source/srcO/mulle-objc/mulle-objc-debug/src/mulle-objc-csvdump.c:167:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      while( method = _mulle_objc_methodlistenumerator_next( &enumerator))
             ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Source/srcO/mulle-objc/mulle-objc-debug/src/mulle-objc-dotdump.c:526:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
   while( prop_cls = _mulle_objc_protocolclassenumerator_next( &rover))
          ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Source/srcO/mulle-objc/mulle-objc-debug/src/mulle-objc-dotdump.c:560:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
   while( methodlist = _mulle_concurrent_pointerarrayenumerator_next( &rover))
          ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Source/srcO/mulle-objc/mulle-objc-debug/src/mulle-objc-dotdump.c:750:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      while( ivarlist = _mulle_concurrent_pointerarrayenumerator_next( &rover))
             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Source/srcO/mulle-objc/mulle-objc-debug/src/mulle-objc-dotdump.c:769:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      while( propertylist = _mulle_concurrent_pointerarrayenumerator_next( &rover))
             ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Source/srcO/mulle-objc/mulle-objc-debug/src/mulle-objc-dotdump.c:932:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
   while( cls = _mulle_objc_class_get_superclass( cls));
          ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Source/srcO/mulle-objc/mulle-objc-debug/src/mulle-objc-html.c:1184:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
   while( value = _mulle_concurrent_pointerarrayenumerator_next( &rover))
          ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Source/srcO/mulle-objc/mulle-objc-debug/src/mulle-objc-htmldump.c:371:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
         while( string = _mulle_concurrent_pointerarrayenumerator_next( &rover))
                ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Source/srcO/mulle-objc/mulle-objc-debug/src/mulle-objc-htmldump.c:468:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
         while( prop_cls = _mulle_objc_protocolclassenumerator_next( &prover))
                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Source/srcO/mulle-objc/mulle-objc-debug/src/mulle-objc-htmldump.c:500:30: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
         while( propertylist = _mulle_concurrent_pointerarrayenumerator_next( &rover))
                ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Source/srcO/mulle-objc/mulle-objc-debug/src/mulle-objc-htmldump.c:519:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
         while( ivarlist = _mulle_concurrent_pointerarrayenumerator_next( &rover))
                ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Source/srcO/mulle-objc/mulle-objc-debug/src/mulle-objc-htmldump.c:538:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
         while( methodlist = _mulle_concurrent_pointerarrayenumerator_next( &rover))
                ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Source/srcO/mulle-objc/mulle-objc-debug/src/mulle-objc-htmldump.c:558:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
         while( methodlist = _mulle_concurrent_pointerarrayenumerator_next( &rover))
                ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Source/srcO/mulle-objc/mulle-objc-debug/src/mulle-objc-htmldump.c:740:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
   while( cls = _mulle_objc_class_get_superclass( cls));
          ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Source/srcO/mulle-objc/mulle-objc-runtime/src/mulle-objc-class-search.c:404:12: warning: 9 enumeration values not handled in switch: 'search_default', 'search_imp', 'search_previous_method'... [-Wswitch]
   switch( *mode)
           ^
/Volumes/Source/srcO/mulle-objc/mulle-objc-runtime/src/mulle-objc-class-search.c:427:15: warning: 10 enumeration values not handled in switch: 'search_default', 'search_imp', 'search_super_method'... [-Wswitch]
      switch( *mode)
              ^
/Volumes/Source/srcO/mulle-objc/mulle-objc-runtime/src/mulle-objc-class-search.c:454:15: warning: 9 enumeration values not handled in switch: 'search_default', 'search_imp', 'search_super_method'... [-Wswitch]
      switch( *mode)
              ^
/Volumes/Source/srcO/mulle-objc/mulle-objc-runtime/src/mulle-objc-class-search.c:507:12: warning: 10 enumeration values not handled in switch: 'search_default', 'search_imp', 'search_super_method'... [-Wswitch]
   switch( *mode)
           ^
/Volumes/Source/srcO/mulle-objc/mulle-objc-runtime/src/mulle-objc-class-search.c:678:12: warning: 9 enumeration values not handled in switch: 'search_default', 'search_imp', 'search_specific_method'... [-Wswitch]
   switch( mode)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions