Closed Bug 1731976 Opened 3 years ago Closed 3 years ago

[clang 13] error: 'iterator<std::input_iterator_tag, std::pair<unsigned short, unsigned short>>' is deprecated [-Werror,-Wdeprecated-declarations]

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(firefox95 fixed)

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 file)

[task 2021-09-22T07:22:52.621Z] 07:22:52    ERROR -  /builds/worker/checkouts/gecko/gfx/graphite2/src/GlyphCache.cpp:47:40: error: 'iterator<std::input_iterator_tag, std::pair<unsigned short, unsigned short>>' is deprecated [-Werror,-Wdeprecated-declarations]
[task 2021-09-22T07:22:52.621Z] 07:22:52     INFO -      class _glat_iterator : public std::iterator<std::input_iterator_tag, std::pair<sparse::key_type, sparse::mapped_type> >
[task 2021-09-22T07:22:52.621Z] 07:22:52     INFO -                                         ^
[task 2021-09-22T07:22:52.621Z] 07:22:52     INFO -  /builds/worker/fetches/sysroot-wasm32-wasi/include/c++/v1/__iterator/iterator.h:27:29: note: 'iterator<std::input_iterator_tag, std::pair<unsigned short, unsigned short>>' has been explicitly marked deprecated here
[task 2021-09-22T07:22:52.621Z] 07:22:52     INFO -  struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 iterator
[task 2021-09-22T07:22:52.621Z] 07:22:52     INFO -                              ^
[task 2021-09-22T07:22:52.621Z] 07:22:52     INFO -  /builds/worker/fetches/sysroot-wasm32-wasi/include/c++/v1/__config:1016:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX17'
[task 2021-09-22T07:22:52.621Z] 07:22:52     INFO -  #  define _LIBCPP_DEPRECATED_IN_CXX17 _LIBCPP_DEPRECATED
[task 2021-09-22T07:22:52.621Z] 07:22:52     INFO -                                        ^
[task 2021-09-22T07:22:52.621Z] 07:22:52     INFO -  /builds/worker/fetches/sysroot-wasm32-wasi/include/c++/v1/__config:993:48: note: expanded from macro '_LIBCPP_DEPRECATED'
[task 2021-09-22T07:22:52.621Z] 07:22:52     INFO -  #    define _LIBCPP_DEPRECATED __attribute__ ((deprecated))
[task 2021-09-22T07:22:52.621Z] 07:22:52     INFO -                                                 ^
[task 2021-09-22T07:22:52.621Z] 07:22:52     INFO -  1 error generated.
[task 2021-09-22T07:22:52.621Z] 07:22:52    ERROR -  gmake[4]: *** [/builds/worker/checkouts/gecko/config/rules.mk:679: GlyphCache.wasm] Error 1
[task 2021-09-22T07:22:52.622Z] 07:22:52     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/security/rlbox'

Per gfx/graphite2/src/moz.build, the warnings shouldn't be turned into errors (AllowCompilerWarnings), but that's not applied to building graphite as part of rlbox, so that's what should be fixed, at least short term.

Assignee: nobody → mh+mozilla
Component: Graphics → General
Product: Core → Firefox Build System
Blocks: clang-13, 1732208
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/62ad2eae4da9 Generally allow warnings in security/rlbox. r=firefox-build-system-reviewers,andi
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
Blocks: 1758626
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: