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

libtizonia: fix clang-tidy-3.8 warnings #257

Closed
juanrubio opened this issue Oct 2, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@juanrubio
Copy link
Collaborator

commented Oct 2, 2016

-*- mode: compilation; default-directory: "~/work/tizonia/libtizonia/src/" -*-
Compilation started at Sun Oct  2 13:37:27

run-clang-tidy-3.8.py -clang-tidy-binary $(which clang-tidy-3.8) -p $HOME/work/tizonia libtizonia/src
Enabled checks:
    clang-analyzer-core.CallAndMessage
    clang-analyzer-core.DivideZero
    clang-analyzer-core.DynamicTypePropagation
    clang-analyzer-core.NonNullParamChecker
    clang-analyzer-core.NullDereference
    clang-analyzer-core.StackAddressEscape
    clang-analyzer-core.UndefinedBinaryOperatorResult
    clang-analyzer-core.VLASize
    clang-analyzer-core.builtin.BuiltinFunctions
    clang-analyzer-core.builtin.NoReturnFunctions
    clang-analyzer-core.uninitialized.ArraySubscript
    clang-analyzer-core.uninitialized.Assign
    clang-analyzer-core.uninitialized.Branch
    clang-analyzer-core.uninitialized.CapturedBlockVariable
    clang-analyzer-core.uninitialized.UndefReturn
    clang-analyzer-cplusplus.NewDelete
    clang-analyzer-cplusplus.NewDeleteLeaks
    clang-analyzer-deadcode.DeadStores
    clang-analyzer-llvm.Conventions
    clang-analyzer-nullability.NullPassedToNonnull
    clang-analyzer-nullability.NullReturnedFromNonnull
    clang-analyzer-nullability.NullableDereferenced
    clang-analyzer-nullability.NullablePassedToNonnull
    clang-analyzer-nullability.NullablePassedToNonnull
    clang-analyzer-optin.osx.cocoa.localizability.EmptyLocalizationContextChecker
    clang-analyzer-optin.osx.cocoa.localizability.NonLocalizedStringChecker
    clang-analyzer-optin.performance.Padding
    clang-analyzer-osx.API
    clang-analyzer-osx.SecKeychainAPI
    clang-analyzer-osx.cocoa.AtSync
    clang-analyzer-osx.cocoa.ClassRelease
    clang-analyzer-osx.cocoa.IncompatibleMethodTypes
    clang-analyzer-osx.cocoa.Loops
    clang-analyzer-osx.cocoa.MissingSuperCall
    clang-analyzer-osx.cocoa.NSAutoreleasePool
    clang-analyzer-osx.cocoa.NSError
    clang-analyzer-osx.cocoa.NilArg
    clang-analyzer-osx.cocoa.NonNilReturnValue
    clang-analyzer-osx.cocoa.ObjCGenerics
    clang-analyzer-osx.cocoa.RetainCount
    clang-analyzer-osx.cocoa.SelfInit
    clang-analyzer-osx.cocoa.UnusedIvars
    clang-analyzer-osx.cocoa.VariadicMethodTypes
    clang-analyzer-osx.coreFoundation.CFError
    clang-analyzer-osx.coreFoundation.CFNumber
    clang-analyzer-osx.coreFoundation.CFRetainRelease
    clang-analyzer-osx.coreFoundation.containers.OutOfBounds
    clang-analyzer-osx.coreFoundation.containers.PointerSizedValues
    clang-analyzer-security.FloatLoopCounter
    clang-analyzer-security.insecureAPI.UncheckedReturn
    clang-analyzer-security.insecureAPI.getpw
    clang-analyzer-security.insecureAPI.gets
    clang-analyzer-security.insecureAPI.mkstemp
    clang-analyzer-security.insecureAPI.mktemp
    clang-analyzer-security.insecureAPI.rand
    clang-analyzer-security.insecureAPI.strcpy
    clang-analyzer-security.insecureAPI.vfork
    clang-analyzer-unix.API
    clang-analyzer-unix.Malloc
    clang-analyzer-unix.MallocSizeof
    clang-analyzer-unix.MismatchedDeallocator
    clang-analyzer-unix.Vfork
    clang-analyzer-unix.cstring.BadSizeArg
    clang-analyzer-unix.cstring.NullArg


/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizscheduler.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizscheduler.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizobjsys.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizobjsys.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizobject.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizobject.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizapi.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizapi.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizservant.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizservant.c:544:37: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
              tiz_fsm_state_to_str (a_state));
                                    ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:106:14: note: expanded from macro 'TIZ_NOTICE'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizservant.c:544:37: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
              tiz_fsm_state_to_str (a_state));
                                    ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:106:14: note: expanded from macro 'TIZ_NOTICE'
           ##args);
             ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizservant.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizservant.c:544:37: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
              tiz_fsm_state_to_str (a_state));
                                    ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:106:14: note: expanded from macro 'TIZ_NOTICE'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizservant.c:544:37: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
              tiz_fsm_state_to_str (a_state));
                                    ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:106:14: note: expanded from macro 'TIZ_NOTICE'
           ##args);
             ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizfsm.c
2 warnings generated.
4 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizfsm.c:1095:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizfsm.c:1114:60: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
                nameOf (ap_servant), tiz_fsm_state_to_str (a_new_state));
                                                           ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizfsm.c:1095:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizfsm.c:1114:60: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
                nameOf (ap_servant), tiz_fsm_state_to_str (a_new_state));
                                                           ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizfsm.c
2 warnings generated.
4 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizfsm.c:1095:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizfsm.c:1114:60: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
                nameOf (ap_servant), tiz_fsm_state_to_str (a_new_state));
                                                           ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizfsm.c:1095:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizfsm.c:1114:60: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
                nameOf (ap_servant), tiz_fsm_state_to_str (a_new_state));
                                                           ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizstate.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizstate.c:360:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state), nameOf (ap_servant),
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizstate.c:360:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state), nameOf (ap_servant),
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizstate.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizstate.c:360:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state), nameOf (ap_servant),
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizstate.c:360:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state), nameOf (ap_servant),
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizloaded.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizloaded.c:215:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:111:14: note: expanded from macro 'TIZ_DEBUG'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizloaded.c:215:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:111:14: note: expanded from macro 'TIZ_DEBUG'
           ##args);
             ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizloaded.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizloaded.c:215:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:111:14: note: expanded from macro 'TIZ_DEBUG'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizloaded.c:215:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:111:14: note: expanded from macro 'TIZ_DEBUG'
           ##args);
             ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizloadedtoidle.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizloadedtoidle.c:182:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizloadedtoidle.c:182:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizloadedtoidle.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizloadedtoidle.c:182:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizloadedtoidle.c:182:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizwaitforresources.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizwaitforresources.c:192:40: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
                 tiz_fsm_state_to_str (a_new_state));
                                       ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizwaitforresources.c:192:40: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
                 tiz_fsm_state_to_str (a_new_state));
                                       ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizwaitforresources.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizwaitforresources.c:192:40: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
                 tiz_fsm_state_to_str (a_new_state));
                                       ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizwaitforresources.c:192:40: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
                 tiz_fsm_state_to_str (a_new_state));
                                       ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizidle.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizidle.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizidletoloaded.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizidletoloaded.c:135:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizidletoloaded.c:135:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizidletoloaded.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizidletoloaded.c:135:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizidletoloaded.c:135:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizidletoexecuting.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizidletoexecuting.c:139:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizidletoexecuting.c:139:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizidletoexecuting.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizidletoexecuting.c:139:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizidletoexecuting.c:139:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizexecuting.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizexecuting.c:263:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:111:14: note: expanded from macro 'TIZ_DEBUG'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizexecuting.c:263:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:111:14: note: expanded from macro 'TIZ_DEBUG'
           ##args);
             ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizexecuting.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizexecuting.c:263:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:111:14: note: expanded from macro 'TIZ_DEBUG'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizexecuting.c:263:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:111:14: note: expanded from macro 'TIZ_DEBUG'
           ##args);
             ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizexecutingtoidle.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizexecutingtoidle.c:99:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:111:14: note: expanded from macro 'TIZ_DEBUG'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizexecutingtoidle.c:99:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:111:14: note: expanded from macro 'TIZ_DEBUG'
           ##args);
             ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizexecutingtoidle.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizexecutingtoidle.c:99:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:111:14: note: expanded from macro 'TIZ_DEBUG'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizexecutingtoidle.c:99:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:111:14: note: expanded from macro 'TIZ_DEBUG'
           ##args);
             ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizpause.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizpause.c:245:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizpause.c:245:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizpause.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizpause.c:245:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizpause.c:245:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizpausetoidle.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizpausetoidle.c:92:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizpausetoidle.c:92:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizpausetoidle.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizpausetoidle.c:92:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/home/joni/work/tizonia/libtizonia/src/tizpausetoidle.c:92:35: warning: implicit conversion from enumeration type 'OMX_STATETYPE' (aka 'enum OMX_STATETYPE') to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
            tiz_fsm_state_to_str (a_new_state));
                                  ^
/home/joni/work/tizonia/libtizonia/src/tizutils.h:116:14: note: expanded from macro 'TIZ_TRACE'
           ##args);
             ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizkernel.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizkernel_dispatch.inl:540:28: warning: implicit conversion from enumeration type 'enum OMX_STATETYPE' to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
  tiz_fsm_state_id_t now = OMX_StateMax;
                           ^
/home/joni/work/tizonia/libtizonia/src/tizkernel_dispatch.inl:540:28: warning: implicit conversion from enumeration type 'enum OMX_STATETYPE' to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
  tiz_fsm_state_id_t now = OMX_StateMax;
                           ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizkernel.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizkernel_dispatch.inl:540:28: warning: implicit conversion from enumeration type 'enum OMX_STATETYPE' to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
  tiz_fsm_state_id_t now = OMX_StateMax;
                           ^
/home/joni/work/tizonia/libtizonia/src/tizkernel_dispatch.inl:540:28: warning: implicit conversion from enumeration type 'enum OMX_STATETYPE' to different enumeration type 'tiz_fsm_state_id_t' (aka 'enum tiz_fsm_state_id') [clang-diagnostic-enum-conversion]
  tiz_fsm_state_id_t now = OMX_StateMax;
                           ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizconfigport.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizconfigport.c:187:3: warning: Call to function 'strcpy' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcpy'. CWE-119 [clang-analyzer-security.insecureAPI.strcpy]
  strcpy (ap_comp_name, p_obj->comp_name_);
  ^
/home/joni/work/tizonia/libtizonia/src/tizconfigport.c:187:3: note: Call to function 'strcpy' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcpy'. CWE-119
  strcpy (ap_comp_name, p_obj->comp_name_);
  ^
/home/joni/work/tizonia/libtizonia/src/tizconfigport.c:187:3: warning: Call to function 'strcpy' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcpy'. CWE-119 [clang-analyzer-security.insecureAPI.strcpy]
  strcpy (ap_comp_name, p_obj->comp_name_);
  ^
/home/joni/work/tizonia/libtizonia/src/tizconfigport.c:187:3: note: Call to function 'strcpy' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcpy'. CWE-119
  strcpy (ap_comp_name, p_obj->comp_name_);
  ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizconfigport.c
1 warning generated.
2 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizconfigport.c:187:3: warning: Call to function 'strcpy' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcpy'. CWE-119 [clang-analyzer-security.insecureAPI.strcpy]
  strcpy (ap_comp_name, p_obj->comp_name_);
  ^
/home/joni/work/tizonia/libtizonia/src/tizconfigport.c:187:3: note: Call to function 'strcpy' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcpy'. CWE-119
  strcpy (ap_comp_name, p_obj->comp_name_);
  ^
/home/joni/work/tizonia/libtizonia/src/tizconfigport.c:187:3: warning: Call to function 'strcpy' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcpy'. CWE-119 [clang-analyzer-security.insecureAPI.strcpy]
  strcpy (ap_comp_name, p_obj->comp_name_);
  ^
/home/joni/work/tizonia/libtizonia/src/tizconfigport.c:187:3: note: Call to function 'strcpy' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcpy'. CWE-119
  strcpy (ap_comp_name, p_obj->comp_name_);
  ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizaudioport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizaudioport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizimageport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizimageport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizvideoport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizvideoport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizotherport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizotherport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizbinaryport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizbinaryport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizpcmport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizpcmport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizprc.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizprc.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizfilterprc.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizfilterprc.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizutils.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizutils.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizmp2port.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizmp2port.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizmp3port.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizmp3port.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizaacport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizaacport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizvorbisport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizvorbisport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizopusport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizopusport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizflacport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizflacport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizvp8port.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizvp8port.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizivrport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizivrport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizdemuxerport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizdemuxerport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizuricfgport.c
2 warnings generated.
4 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:142:26: warning: address of array 'p_uri->contentURI' will always evaluate to 'true' [clang-diagnostic-pointer-bool-conversion]
              if (p_uri->contentURI)
                         ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:146:23: warning: Size argument is greater than the length of the destination buffer [clang-analyzer-]
                      strncpy ((char *)p_uri->contentURI, p_obj->p_uri_,
                      ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:118:3: note: Control jumps to 'case OMX_IndexParamContentURI:'  at line 120
  switch (a_index)
  ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:130:11: note: Taking true branch
          if (p_obj->p_uri_)
          ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:135:11: note: Taking false branch
          if (uri_buf_size < (uri_len + 1))
          ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:142:15: note: Taking true branch
              if (p_uri->contentURI)
              ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:144:23: note: Left side of '&&' is true
                  if (p_obj->p_uri_ && uri_len > 0)
                      ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:144:40: note: Assuming 'uri_len' is > 0
                  if (p_obj->p_uri_ && uri_len > 0)
                                       ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:144:19: note: Taking true branch
                  if (p_obj->p_uri_ && uri_len > 0)
                  ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:146:23: note: Size argument is greater than the length of the destination buffer
                      strncpy ((char *)p_uri->contentURI, p_obj->p_uri_,
                      ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:142:26: warning: address of array 'p_uri->contentURI' will always evaluate to 'true' [clang-diagnostic-pointer-bool-conversion]
              if (p_uri->contentURI)
                         ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:146:23: warning: Size argument is greater than the length of the destination buffer [clang-analyzer-]
                      strncpy ((char *)p_uri->contentURI, p_obj->p_uri_,
                      ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:118:3: note: Control jumps to 'case OMX_IndexParamContentURI:'  at line 120
  switch (a_index)
  ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:130:11: note: Taking true branch
          if (p_obj->p_uri_)
          ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:135:11: note: Taking false branch
          if (uri_buf_size < (uri_len + 1))
          ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:142:15: note: Taking true branch
              if (p_uri->contentURI)
              ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:144:23: note: Left side of '&&' is true
                  if (p_obj->p_uri_ && uri_len > 0)
                      ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:144:40: note: Assuming 'uri_len' is > 0
                  if (p_obj->p_uri_ && uri_len > 0)
                                       ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:144:19: note: Taking true branch
                  if (p_obj->p_uri_ && uri_len > 0)
                  ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:146:23: note: Size argument is greater than the length of the destination buffer
                      strncpy ((char *)p_uri->contentURI, p_obj->p_uri_,
                      ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizuricfgport.c
2 warnings generated.
4 warnings generated.
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:142:26: warning: address of array 'p_uri->contentURI' will always evaluate to 'true' [clang-diagnostic-pointer-bool-conversion]
              if (p_uri->contentURI)
                         ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:146:23: warning: Size argument is greater than the length of the destination buffer [clang-analyzer-]
                      strncpy ((char *)p_uri->contentURI, p_obj->p_uri_,
                      ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:118:3: note: Control jumps to 'case OMX_IndexParamContentURI:'  at line 120
  switch (a_index)
  ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:130:11: note: Taking true branch
          if (p_obj->p_uri_)
          ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:135:11: note: Taking false branch
          if (uri_buf_size < (uri_len + 1))
          ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:142:15: note: Taking true branch
              if (p_uri->contentURI)
              ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:144:23: note: Left side of '&&' is true
                  if (p_obj->p_uri_ && uri_len > 0)
                      ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:144:40: note: Assuming 'uri_len' is > 0
                  if (p_obj->p_uri_ && uri_len > 0)
                                       ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:144:19: note: Taking true branch
                  if (p_obj->p_uri_ && uri_len > 0)
                  ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:146:23: note: Size argument is greater than the length of the destination buffer
                      strncpy ((char *)p_uri->contentURI, p_obj->p_uri_,
                      ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:142:26: warning: address of array 'p_uri->contentURI' will always evaluate to 'true' [clang-diagnostic-pointer-bool-conversion]
              if (p_uri->contentURI)
                         ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:146:23: warning: Size argument is greater than the length of the destination buffer [clang-analyzer-]
                      strncpy ((char *)p_uri->contentURI, p_obj->p_uri_,
                      ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:118:3: note: Control jumps to 'case OMX_IndexParamContentURI:'  at line 120
  switch (a_index)
  ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:130:11: note: Taking true branch
          if (p_obj->p_uri_)
          ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:135:11: note: Taking false branch
          if (uri_buf_size < (uri_len + 1))
          ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:142:15: note: Taking true branch
              if (p_uri->contentURI)
              ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:144:23: note: Left side of '&&' is true
                  if (p_obj->p_uri_ && uri_len > 0)
                      ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:144:40: note: Assuming 'uri_len' is > 0
                  if (p_obj->p_uri_ && uri_len > 0)
                                       ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:144:19: note: Taking true branch
                  if (p_obj->p_uri_ && uri_len > 0)
                  ^
/home/joni/work/tizonia/libtizonia/src/tizuricfgport.c:146:23: note: Size argument is greater than the length of the destination buffer
                      strncpy ((char *)p_uri->contentURI, p_obj->p_uri_,
                      ^
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizdemuxercfgport.c
/usr/bin/clang-tidy-3.8 -header-filter=^/home/joni/work/tizonia/.* -p=/home/joni/work/tizonia /home/joni/work/tizonia/libtizonia/src/tizdemuxercfgport.c

Compilation finished at Sun Oct  2 13:38:50

@juanrubio juanrubio added this to the v0.6.0 milestone Oct 2, 2016

@juanrubio juanrubio self-assigned this Oct 2, 2016

@juanrubio juanrubio closed this in c37a77c Oct 2, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.