VSCode Почему активный код отображается как неактивный в проекте C++ OpenGL?C++

Программы на C++. Форум разработчиков
Ответить
Anonymous
 VSCode Почему активный код отображается как неактивный в проекте C++ OpenGL?

Сообщение Anonymous »


I am trying to understand a C++ OpenGL project (github/XCSoar) using VSCode on a Debian Linux box (don't think that is significant, but...). I have noticed that the 'active/inactive' code block highlighting is wrong sometimes, and it really screws up my understanding of what is going on.

Here is a screenshot of a section of code where the program has halted in debug mode, in the middle of a code block that has been marked as 'inactive' (I edited the C++ Extensions setting to make the 'inactive code block' designation obvious).
Изображение


Any idea why this is happening? The 'ENABLE_OPENGL' symbol isn't defined or declared, at least according to VSCode, but the program is certainly an OPENGL app, and stepping through the code definitely steps through the 'inactive' block.

TIA,

Frank


Источник: https://stackoverflow.com/questions/781 ... gl-project
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «C++»