# Warnings while building Monitor Edge with DeviceOS 5.7.0

**URL:** <https://community.particle.io/t/warnings-while-building-monitor-edge-with-deviceos-5-7-0/66275>\
**Category:** Edge Systems\
**Created:** [February 2, 2024, 3:57am UTC](https://community.particle.io/t/warnings-while-building-monitor-edge-with-deviceos-5-7-0/66275 "2024-02-02T03:57:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gusgonnet](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/gusgonnet/32/27491_2.png) [@gusgonnet](https://community.particle.io/u/gusgonnet)\
**Post date:** [February 2, 2024, 3:57am UTC](https://community.particle.io/t/warnings-while-building-monitor-edge-with-deviceos-5-7-0/66275/1 "2024-02-02T03:57:38Z")

</div>

Hi, am I safe to proceed?  
Should I only use Device OS 4.2.0 or how can I fix these warnings?  
Thanks

Warnings:

```auto
../../../hal/inc/interrupts_hal_compat.h:82:1: warning: 'HAL_InterruptCallback' is deprecated: Use hal_interrupt_callback_t [-Wdeprecated-declarations]
   82 | HAL_Get_System_Interrupt_Handler(hal_irq_t irq, HAL_InterruptCallback* callback, void* reserved) {
      | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../../hal/inc/core_hal.h:91,
                 from ../../../modules/shared/nRF52840/inc/user_part_export.c:7,
                 from src/user_export.c:1:
../../../hal/inc/interrupts_hal.h:66:16: note: declared here
   66 | typedef struct hal_interrupt_callback_t {
      | ^ ~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../../hal/inc/interrupts_hal.h:234,
                 from ../../../hal/inc/core_hal.h:91,
                 from ../../../modules/shared/nRF52840/inc/user_part_export.c:7,
                 from src/user_export.c:1:
../../../hal/inc/interrupts_hal_compat.h:92:1: warning: 'HAL_Direct_Interrupt_Handler' is deprecated: Use hal_interrupt_handler_t [-Wdeprecated-declarations]
   92 | HAL_Set_Direct_Interrupt_Handler(IRQn_Type irqn, HAL_Direct_Interrupt_Handler handler, uint32_t flags, void* reserved) {

```

---

<div class="post-metadata">

**Author:** ![rickkas7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rickkas7/32/8681_2.png) [@rickkas7](https://community.particle.io/u/rickkas7)\
**Post date:** [February 2, 2024, 10:56am UTC](https://community.particle.io/t/warnings-while-building-monitor-edge-with-deviceos-5-7-0/66275/2 "2024-02-02T10:56:04Z")

</div>

Those warning are inside Device OS itself and can be ignored. They'll be fixed in a future version of Device OS.

---

<div class="post-metadata">

**Author:** ![gusgonnet](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/gusgonnet/32/27491_2.png) [@gusgonnet](https://community.particle.io/u/gusgonnet)\
**Post date:** [March 3, 2024, 8:57pm UTC](https://community.particle.io/t/warnings-while-building-monitor-edge-with-deviceos-5-7-0/66275/3 "2024-03-03T20:57:03Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
