Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings #13

Open
mulle-nat opened this issue Dec 18, 2022 · 0 comments
Open

Warnings #13

mulle-nat opened this issue Dec 18, 2022 · 0 comments

Comments

@mulle-nat
Copy link
Member

/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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant