../../content/child/blink_platform_impl.cc:759:34: error: use of undeclared identifier 'IDR_INSPECTOR_OVERLAY_PAGE_HTML'
{ "InspectorOverlayPage.html", IDR_INSPECTOR_OVERLAY_PAGE_HTML,
^
../../content/child/blink_platform_impl.cc:762:5: error: use of undeclared identifier 'IDR_INSPECTOR_INJECTED_SCRIPT_CANVAS_MODULE_SOURCE_JS'
IDR_INSPECTOR_INJECTED_SCRIPT_CANVAS_MODULE_SOURCE_JS,
^
../../content/child/blink_platform_impl.cc:764:32: error: use of undeclared identifier 'IDR_INSPECTOR_INJECTED_SCRIPT_SOURCE_JS'
{ "InjectedScriptSource.js", IDR_INSPECTOR_INJECTED_SCRIPT_SOURCE_JS,
^
../../content/child/blink_platform_impl.cc:766:32: error: use of undeclared identifier 'IDR_INSPECTOR_DEBUGGER_SCRIPT_SOURCE_JS'
{ "DebuggerScriptSource.js", IDR_INSPECTOR_DEBUGGER_SCRIPT_SOURCE_JS,
^
../../content/child/blink_platform_impl.cc:799:26: error: no matching function for call to 'ArraySizeHelper'
for (size_t i = 0; i < arraysize(kDataResources); ++i) {
^~~~~~~~~~~~~~~~~~~~~~~~~
../../base/macros.h:74:34: note: expanded from macro 'arraysize'
#define arraysize(array) (sizeof(ArraySizeHelper(array)))
^~~~~~~~~~~~~~~
../../base/macros.h:64:8: note: candidate template ignored: could not match 'T [N]' against 'const content::(anonymous namespace)::DataResource []'
char (&ArraySizeHelper(T (&array)[N]))[N];
^
../../base/macros.h:71:8: note: candidate template ignored: could not match 'const T [N]' against 'const content::(anonymous namespace)::DataResource []'
char (&ArraySizeHelper(const T (&array)[N]))[N];
^
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
rm out/Debug/gen/webkit/grit/blink_resources.h
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+unsubscribe@chromium.org.
This worked for me too. Specifically:rm out/Debug/gen/webkit/grit/blink_resources.h
On Friday, July 25, 2014 12:44:46 PM UTC-7, Robert Shield wrote:I hit this earlier and fixed it by searching my out/ dir and finding two generated blink_resources.h files, one which had the new symbols and one which didn't.I deleted the one that didn't and the build succeeded. Afaict, how these files are generated changed, but if you don't do a full clobber build, the old blink_resources.h file will stick around and I guess it is found first causing this problem.
A separate PSA to chromium-dev would be helpful. Also in the futureOn Fri, Jul 25, 2014 at 3:51 PM, Thiago Farina <tfa...@chromium.org> wrote:
>
>
>
> On Fri, Jul 25, 2014 at 6:56 PM, <mich...@chromium.org> wrote:
>>
>> This worked for me too. Specifically:
>>
>> rm out/Debug/gen/webkit/grit/blink_resources.h
>>
>>
>>
>> On Friday, July 25, 2014 12:44:46 PM UTC-7, Robert Shield wrote:
>>>
>>> I hit this earlier and fixed it by searching my out/ dir and finding two
>>> generated blink_resources.h files, one which had the new symbols and one
>>> which didn't.
>>>
>>> I deleted the one that didn't and the build succeeded. Afaict, how these
>>> files are generated changed, but if you don't do a full clobber build, the
>>> old blink_resources.h file will stick around and I guess it is found first
>>> causing this problem.
>>>
> Yeah, thanks for sharing the fix.
>
> This is because the new file lives in out/Debug/gen/blink/public/resources.
>
> I apologize everyone affected by my change. Hopefully the fix was something
> simple and quick.
please try to avoid requiring manual intervention. Even a temporary
build rule to handle renaming of a generated file would be better than
breakage.
impossible to predict all failure modes. Still, if you wouldn't mindCompletely understood. Your patches went through the CQ, and it's
sending a separate PSA to chromium-dev now, indicating people will
need to do a clobber build if they encounter this, I think it would
still be useful. (Something like "PSA: clobber build needed for
IDR_INSPECTOR_* compile errors in blink_platform_impl.cc")
--