Skip to content

New deprecations #46

Closed
Closed
@targos

Description

@targos

These cannot be fixed on master:


../src/async_wrap.cc: In function ‘void node::LoadAsyncWrapperInfo(node::Environment*)’:
../src/async_wrap.cc:575:77: warning: ‘void v8::HeapProfiler::SetWrapperClassInfoProvider(uint16_t, v8::HeapProfiler::WrapperInfoCallback)’ is deprecated: Use SetBuildEmbedderGraphCallback to provide info about embedder nodes [-Wdeprecated-declarations]
       (NODE_ASYNC_ID_OFFSET + AsyncWrap::PROVIDER_ ## PROVIDER), WrapperInfo);
                                                                             ^
../src/async_wrap.h:37:3: note: in expansion of macro ‘V’
   V(NONE)                                                                     \
   ^
../src/async_wrap.h:89:3: note: in expansion of macro ‘NODE_ASYNC_NON_CRYPTO_PROVIDER_TYPES’
   NODE_ASYNC_NON_CRYPTO_PROVIDER_TYPES(V)                                     \
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/async_wrap.cc:576:3: note: in expansion of macro ‘NODE_ASYNC_PROVIDER_TYPES’
   NODE_ASYNC_PROVIDER_TYPES(V)
   ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../deps/v8/include/v8.h:26:0,
                 from ../src/node_persistent.h:6,
                 from ../src/base_object.h:27,
                 from ../src/async_wrap.h:27,
                 from ../src/async_wrap-inl.h:27,
                 from ../src/async_wrap.cc:22:
../deps/v8/include/v8-profiler.h:882:12: note: declared here
       void SetWrapperClassInfoProvider(uint16_t class_id,
            ^
../deps/v8/include/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/env.cc: In lambda function:
../src/env.cc:244:56: warning: ‘void v8::CpuProfiler::SetIdle(bool)’ is deprecated: Use Isolate::SetIdle(bool) instead. [-Wdeprecated-declarations]
     env->isolate_data()->GetCpuProfiler()->SetIdle(true);
                                                        ^
In file included from ../deps/v8/include/v8.h:26:0,
                 from ../src/node.h:63,
                 from ../src/node_internals.h:27,
                 from ../src/env.cc:1:
../deps/v8/include/v8-profiler.h:339:22: note: declared here
                 void SetIdle(bool is_idle));
                      ^
../deps/v8/include/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../src/env.cc: In lambda function:
../src/env.cc:249:57: warning: ‘void v8::CpuProfiler::SetIdle(bool)’ is deprecated: Use Isolate::SetIdle(bool) instead. [-Wdeprecated-declarations]
     env->isolate_data()->GetCpuProfiler()->SetIdle(false);
                                                         ^
In file included from ../deps/v8/include/v8.h:26:0,
                 from ../src/node.h:63,
                 from ../src/node_internals.h:27,
                 from ../src/env.cc:1:
../deps/v8/include/v8-profiler.h:339:22: note: declared here
                 void SetIdle(bool is_idle));
                      ^
../deps/v8/include/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions