Community
Participate
Working Groups
Build Identifier: Build id: 20111215-0110 For this code, I am getting an error: "Invalid arguments ' Candidates are: bool To_signed64(? &) bool To_signed64(char *, unsigned int, ? &) '" #include <stdint.h> class String_ptr { public: char* SP_ptr; uint32_t SP_len; bool To_signed64(int64_t& value) const { return To_signed64(SP_ptr, SP_len, value); // problematic line } bool To_unsigned64(uint64_t& value) const { return To_unsigned64(SP_ptr, SP_len, value); } static bool To_signed64(char* str, uint32_t len, int64_t& value); static bool To_unsigned64(char* str, uint32_t len, uint64_t& value); }; This may be a regression from Indigo. It's weird that it only happens on int64_t and not the uint64_t. This is on Ubuntu 11.10/amd64, with Discovery Options turned on. It looks like CDT is parsing the /usr/include/stdint.h correctly. Reproducible: Always
I cannot reproduce the issue. Please try the following: * Rebuild the index * Use 'Navigate Open Element...' and search for int64_t, what does it show. * Create a parser log and attach it to this bug. (Context menu of file in project explorer - Index - Create Parser Log).
No response from submitter.