Here are 2 patches to make clang++ happy.

Explicitly use lldb::pid_t instead of letting the compiler choose between 
::pid_t and lldb::pid_t.
In fact, most pid_t declarations already use the lldb:: prefix except the 3 
updated by this patch.
It fixes a clang++ error which didn't know which type to choose between ::pid_t 
and lldb::pid_t. 

The second patch rename an argument in a method declaration to avoid duplicate 
names (something else that clang++ really doesn't like).

I don't know if these errors are due to clang++ bugs or just because clang++ is 
stricter than GCC.

Attachment: pid.patch
Description: Binary data


Attachment: args.patch
Description: Binary data



-- Jean-Daniel




_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to