Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Using Code::Blocks / Re: What is -DBUILD_DLL
« Last post by BlueHazzard on Today at 06:03:17 pm »
Thanks. Now I see the meaning of -DBUILD_DLL.

Would you please tell me how to find the content of the macro BUILD_DLL in Codeblocks? I am new to Codeblocks. So my question perhaps is naive. Sorry about that.
This has nothing to do with codeblocks... Codeblocks is a text editor. It does only what you tell it to do. So somewhere in the project you (or some template) told the compiler to define BUILD_DLL... What the library you use does with it has nothing to do with codeblocks... It is probably used by your standard library, or some unused legacy thing...

EDIT:
there is no content of BUILD_DLL ... this simply is used in code like this
Code: [Select]
#ifdef BUILD_DLL
 do something
#else
 do something else
#endif
2
Using Code::Blocks / Re: What is -DBUILD_DLL
« Last post by rltang on Today at 05:25:15 pm »
Thanks. Now I see the meaning of -DBUILD_DLL.

Would you please tell me how to find the content of the macro BUILD_DLL in Codeblocks? I am new to Codeblocks. So my question perhaps is naive. Sorry about that.
3
Help wanted / Re: #if-#else-#endif
« Last post by niki on Today at 05:17:13 pm »
Good direction,
I'll check it.
Thanks.
 
4
Using Code::Blocks / Re: What is -DBUILD_DLL
« Last post by stahta01 on Today at 04:50:19 pm »
Off topic question. http://forums.codeblocks.org/index.php/topic,9996.0.html

-D defines a macro in C/C++ it likely does the same in gfortran.

Tim S.
5
Nightly builds / Re: The 15 August 2018 build (11449) is out.
« Last post by Xaviou on Today at 03:44:58 pm »
Hi.

OS X version of this rev can be downloaded from my Google Drive.

Regards
Xav'
6
Help wanted / Re: #if-#else-#endif
« Last post by ollydbg on Today at 02:46:52 pm »
What is the problem?
The first #if branch should be active, since the macro name is already defined in the header file.

I think CC's symbol tree can supply the macro definition query service, but not sure how to implement it in the Scintilla.
7
Using Code::Blocks / What is -DBUILD_DLL
« Last post by rltang on Today at 02:07:37 pm »
When I use codeblocks to make a Fortran DLL, I see something like the following command (I deleted the directories to make it look simpler):

gfortran -Wall -DBUILD_DLL -g -c myMultiply.f90

My question is about the option -DBUILD_DLL. Is it an option of gfortran? I checked the web about the options of gfortran. It seems that -DBUILD_DLL is not listed. Is it something special from codeblocks?

Can someone tell me what it is? Thanks a lot.
8
Development / Re: Bootstrap with no wxWidgets packet installed
« Last post by oBFusCATed on Today at 01:59:57 pm »
Probably you could do a bisect on the wx's master branch to see where the issue started to happen and post a bug report.
9
Help wanted / Re: #if-#else-#endif
« Last post by oBFusCATed on Today at 01:58:50 pm »
What is the problem?
10
Help wanted / #if-#else-#endif
« Last post by niki on Today at 11:00:39 am »
Hello,
How could I fix next: see the attachment
Pages: [1] 2 3 4 5 6 ... 10