Project

General

Profile

Bug #12429

sgs: NULL pointer errors

Added by Toomas Soome 8 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:
Medium
Tags:

Description

NULL pointer errors while building sgs on SPARC:

    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: ../common/errortouch.c:425 oktotouch() warn: inconsistent indenting

    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: ../common/errorsubr.c:104 position() warn: if statement not indented
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: ../common/errorsubr.c:119 substitute() warn: if statement not indented

    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: ../common/errorinput.c:318 lint0() warn: inconsistent indenting

    ../common/cache_a.out.c: In function 'ask_db':
    ../common/cache_a.out.c:85: error: assignment makes integer from pointer without a cast
    ../common/cache_a.out.c: In function 'find_so':
    ../common/cache_a.out.c:248: error: comparison between pointer and integer
    ../common/cache_a.out.c:281: error: comparison between pointer and integer

    ../common/a.out.c: In function 'aout_find_com':
    ../common/a.out.c:360: error: comparison between pointer and integer
    ../common/a.out.c: In function 'aout_findsb':
    ../common/a.out.c:423: error: comparison between pointer and integer

Also available in: Atom PDF