On Jan 16, 2013, at 1:44 PM, Pawel Wodnicki <[email protected]> wrote:
>> This is usually due to a missing: >> >> using namespace lldb; >> >> at the top of the source file. If this is in a header file, then you will >> need to prefix the type with "lldb::". > > OK, so just use the standard pattern with fully qualified > type in the header. Sounds good. > Do you care about cleaning lldb::addr_t in the implementation files? It really depends. Often times if an implementation file includes llvm/clang and LLDB headers, we sometimes like the full qualifications. So I wouldn't go out of your way to clean any existing extra quals. > > >> >> Greg >> >> On Jan 16, 2013, at 11:05 AM, Pawel Wodnicki <[email protected]> wrote: >> >>> Hello, >>> >>> Quick question on using lldb::addr_t and addr_t. >>> I am getting compile errors due undefined addr_t. >>> The way to fix it seems simple, just change >>> all the addr_t to lldb::addr_t :-). But there is >>> a lot of the addr_t sprinkled around, so perhaps >>> I am simply missing add_t type definition. >>> Are these two types intended to be equivalent? >>> >>> Paweł >>> >>> >>> >>> >>> >>> _______________________________________________ >>> lldb-dev mailing list >>> [email protected] >>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev >> >> >> > _______________________________________________ lldb-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
