Ok, I did the clang run, the log is here:

http://people.freebsd.org/~dougb/WindowMaker-clang-build.log

Search for "warning" to see what it found. I created a patch for the
super obvious ones:

http://people.freebsd.org/~dougb/patch-clang-warnings.txt

Rainer, you might want to give this a try, in the half dozen attempts I
ran it seems to make restoring the session work.

I think the reason is the obvious typo in src/osdep_bsd.c. I can't
necessarily tell you *why* this caused the problem (although I have a
theory) but it fits the pattern of the bug report in that a) this file
is new in 0.95, and b) it's FreeBSD specific.

After applying the patch above the only warnings left are the several
"implicit truncation from 'int' to bitfield" and one unused label in
usermenu.c. The former look like they should probably be fixed, but the
right fix wasn't obvious to me. The unused label looks like it can just
be removed, since that's the only use of the word "keyover" anywhere in
the sources. What wasn't clear to me is how much of the rest of the
block should go, so I left it alone.


hth,

Doug

-- 

        It's always a long day; 86400 doesn't fit into a short.

        Breadth of IT experience, and depth of knowledge in the DNS.
        Yours for the right price.  :)  http://SupersetSolutions.com/


-- 
To unsubscribe, send mail to [email protected].

Reply via email to