News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

let codeblocks know something is defined for editor

Started by dfatcb, August 16, 2025, 05:54:18 PM

Previous topic - Next topic

dfatcb

Hi,

I have project I copied over and setup to cross compile for -m64 on Linux devuan-chimaera 5.10.0-31-686 #1 SMP Debian 5.10.221-1 (2024-07-14) i686 GNU/Linux. 

The actual build is fine but when I'm using the editor it doesn't detect __x86_64__ is enabled so those sections are greyed out.  I tried open the source by going to the project marked with -m64 and doubling clicking to open, but still not seeing that is defined.

Is there a trick to make that happen?

Name             : Code::Blocks
Version          : 20.03-r11997
SDK Version      : 2.0.0
Scintilla Version: 3.7.5
Author           : The Code::Blocks Team
E-mail           : info@codeblocks.org
Website          : http://www.codeblocks.org

wxWidgets Library (wxGTK port)
Version 3.0.5 (Unicode: wchar_t, debug level: 1),
Runtime version of toolkit used is 3.24.
Compile-time GTK+ version is 3.24.20.

Miguel Gimenez

Check "Include host platform defines" in Editor -> Settings -> General settings -> C/C++ Editor settings