# Compiler warnings when update to 24.03

**URL:** <https://forum.aousd.org/t/compiler-warnings-when-update-to-24-03/1390>\
**Category:** USD\
**Tags:** cpp\
**Created:** [March 28, 2024, 3:44pm UTC](https://forum.aousd.org/t/compiler-warnings-when-update-to-24-03/1390 "2024-03-28T15:44:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GreatWhite](https://avatars.discourse-cdn.com/v4/letter/g/bbe5ce/32.png) [@GreatWhite](https://forum.aousd.org/u/GreatWhite)\
**Post date:** [March 28, 2024, 3:44pm UTC](https://forum.aousd.org/t/compiler-warnings-when-update-to-24-03/1390/1 "2024-03-28T15:44:04Z")

</div>

Hi exports,  
When I update USD toolkit to 24.03 from 22.08, the compiler reports three new warnings:  
C4003: [Compiler Warning (level 1) C4003](https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4003?view=msvc-170)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/aousd/original/1X/123b25d21d4cc25c466dbfa5b5426b20f4ac62e7.png)  
C4275: [Compiler Warning (level 2) C4275](https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-2-c4275?view=msvc-170)  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/aousd/original/1X/753ca1c004425525762130424fa7c97d7db116e1.png)  
C4251: [Compiler Warning (level 1) C4251](https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4251?view=msvc-170)  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/aousd/original/1X/4770ef38d1be5497fd69da808ce4bff2f6597d03.png)  
Is there anyone met the same issue? Should we ignore these warnings?

---

<div class="post-metadata">

**Author:** ![nvmkuruc](https://avatars.discourse-cdn.com/v4/letter/n/76d3ee/32.png) [@nvmkuruc](https://forum.aousd.org/u/nvmkuruc)\
**Post date:** [March 28, 2024, 8:00pm UTC](https://forum.aousd.org/t/compiler-warnings-when-update-to-24-03/1390/2 "2024-03-28T20:00:37Z")

</div>

I can comment on C4003. Here is a related issue.  
[Warning C4003 · Issue #2624 · PixarAnimationStudios/OpenUSD (github.com)](https://github.com/PixarAnimationStudios/OpenUSD/issues/2624)

As OpenUSD has become less dependent on boost and the preprocessor, less things now include `pxr/base/tf/preprocessorUtils.h` which had the warning suppressing `ARCH_PRAGMA_MACRO_TOO_FEW_ARGUMENTS` macro. I thought there was a fix made to disable that warning in the OpenUSD `CMake` files so I’m surprised you’re seeing it.

---

<div class="post-metadata">

**Author:** ![peteru](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/peteru/32/497_2.png) [@peteru](https://forum.aousd.org/u/peteru)\
**Post date:** [March 29, 2024, 4:06pm UTC](https://forum.aousd.org/t/compiler-warnings-when-update-to-24-03/1390/3 "2024-03-29T16:06:45Z")

</div>

BTW: I just wanted to say **Thank You** for continuing the work on removing `boost` where possible. It’s much appreciated. 👍🏻
