v8 / src / compilation-statistics.cc pdfium compiled

v8 / src / compilation-statistics.cc: 18: 3: WARNING: 'Auto' meaning Changes in C ++. 11; Please Remove IT [-Wc compat-++ 0x]
Auto IT = phase_map_.find (phase_name_str);
^
v8 / src / compilation-statistics.cc: 18: 8: error: 'it' is not a type name
Auto phase_map_.find IT = (phase_name_str);
^
V8 / the src / compilation-statistics.cc:. 19:. 7: error: 'it' was not declared in this scope
IF (phase_map_.end it == ()) {
^
V8 / the src / compilation-statistics.cc: 23 is:. 3: error: 'it' was not declared this scope
it -> second.Accumulate (stats);
^
V8 / the src / compilation-statistics.cc: a member function 'void v8 :: internal :: CompilationStatistics :: RecordPhaseKindStats (const char *, const v8 :: internal :: CompilationStatistics :: BasicStats &) 'in which:
v8 / src / compilation-statistics.cc: 30: 3: WARNING: 'Auto' meaning Changes in C ++. 11; Please Remove IT [-Wc compat-++ 0x]
Auto IT = phase_kind_map_.find (phase_kind_name_str);
^
v8 / src / compilation-statistics.cc: 30: 8: error: 'it' is not a type name
Auto phase_kind_map_.find IT = (phase_kind_name_str);
^
V8 / the src / compilation-statistics.cc: 31 is:. 7: error: 'it' was not declared in this scope
IF (phase_kind_map_.end it == ()) {
^
V8 / the src / compilation-statistics.cc: 36:. 3: error: 'it' was not declared this scope
it -> second.Accumulate (stats);
^
V8 / the src / compilation-statistics.cc: the function 'std :: ostream & v8 :: internal :: operator << (std :: ostream &, const v8 :: internal :: CompilationStatistics & )'in:
v8 / src / compilation-statistics.cc: 111: 8: WARNING: 'Auto' meaning Changes in C ++. 11; Please Remove IT [-Wc compat-++ 0x]
for (Auto s.phase_kind_map_.begin IT = ( ); s.phase_kind_map_.end IT = ();!
^
V8 / the src / compilation-statistics.cc: 111: 13 is: error: 'it' is not a type name
for (auto it = s.phase_kind_map_.begin () ; ! s.phase_kind_map_.end IT = ();
^
V8 / the src / compilation-statistics.cc: 111: 45: error: expected ';' before 'IT'
for (IT = s.phase_kind_map_.begin Auto (); IT ! = s.phase_kind_map_.end ();
^
V8 / the src / compilation-statistics.cc: 111: 45: error: 'it' was not declared in this scope
v8 / src / compilation-statistics.cc: 119: 8 : wARNING: 'Auto' meaning Changes in C ++. 11; Please Remove IT [-Wc compat-++ 0x]
for (IT = s.phase_map_.begin Auto (); s.phase_map_.end IT = ();! ++ it) {
^
V8 / the src / compilation-statistics.cc: 119: 13 is: Error: 'it' is not a type name
! For (auto it = s.phase_map_.begin ( ); it = s.phase_map_.end (); ++ IT) {
^
V8 / the src / compilation-statistics.cc: 119: 40: error: expected ';' before 'IT'
! for (IT = s.phase_map_.begin Auto (); s.phase_map_.end IT = ( ); IT ++) {
^
V8 / the src / compilation-statistics.cc: 119: 40: error: 'it' was not declared in this scope
v8 / src / compilation-statistics.cc: 124: 8: wARNING: 'Auto' meaning Changes in C ++. 11; Please Remove IT [-Wc compat-++ 0x]
for (Auto phase_kind_it: sorted_phase_kinds) {
^
V8 / the src / compilation-statistics.cc: 124: 13 is: error: 'phase_kind_it 'is not a type name
for (Auto phase_kind_it: sorted_phase_kinds) {
^
v8/src/compilation-statistics.cc:137:3: 错误:expected ‘;’ before ‘WriteFullLine’
WriteFullLine(os);
^
v8/src/compilation-statistics.cc:137:19: 错误:could not convert ‘v8::internal::WriteFullLine((* & os))’ from ‘void’ to ‘bool’
WriteFullLine(os);
^
v8/src/compilation-statistics.cc:138:58: 错误:expected ‘)’ before ‘;’ token
WriteLine(os, "totals", s.total_stats_, s.total_stats_);
^
v8/src/compilation-statistics.cc: 在全局域:
v8/src/compilation-statistics.cc:98:13: 警告:‘void v8::internal::WritePhaseKindBreak(std::ostream&)’定义后未使用 [-Wunused-function]
static void WritePhaseKindBreak(std::ostream& os) {

 

standalone.gypi

    'cflags_cc': [
      '-Wnon-virtual-dtor'
      '-fno-rtti',
  '-std=c++11'
    ],

 

Guess you like

Origin www.cnblogs.com/hshy/p/12009234.html
v8