Closed Bug 1151754 Opened 9 years ago Closed 6 years ago

error in building from Socorro from source

Categories

(Socorro :: General, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bloodyhazel7, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0
Build ID: 20150326190726

Steps to reproduce:

While building Socorro from source (github master); 
`make dev`
error in files dumplookup.cc, get-minidump-instructions.cc & stackwalker.cc in /minidump-stackwalk


Actual results:

stackwalker.cc: In function ‘std::string {anonymous}::ToHex(uint64_t)’:
stackwalker.cc:117:33: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
   sprintf(buffer, "0x%lx", value);

all %lx / %ld should be %llx / %lld
I am sending a Pull Request in github related to this bug
I'm not sure what PR is related to this bug or what happened to it 3 years ago, but it's probably fixed by now.

Given that, I'm going to mark it as FIXED.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.