0

What is the visual studio equivalent of this line in gcc.

 bool box_is_inside(TerBox* box, glm::vec3& p) __attribute__((unused));
rawrex
  • 4,044
  • 2
  • 8
  • 24
Summit
  • 2,112
  • 2
  • 12
  • 36
  • 5
    If possible, please use [standard C++ attributes](https://en.cppreference.com/w/cpp/language/attributes), like [`[[maybe_unused]]`](https://en.cppreference.com/w/cpp/language/attributes/maybe_unused). – Some programmer dude Apr 20 '22 at 05:50
  • 2
    MSVC, in newer versions, supports `[[maybe_unused]]` ([docs](https://learn.microsoft.com/en-us/cpp/cpp/attributes?view=msvc-170)) – Christian.K Apr 20 '22 at 05:52
  • 3
    Does this answer your question? [Visual Studio equivelent of gcc \_\_attribute\_\_((unused)) in c++11 (or lower)?](https://stackoverflow.com/questions/52058457/visual-studio-equivelent-of-gcc-attribute-unused-in-c11-or-lower), https://stackoverflow.com/a/52066370/421195 – paulsm4 Apr 20 '22 at 05:52

0 Answers0