Recent Posts

Pages: 1 2 3 4 5 [6] 7 8 9 10
51
I just forgot where I can create the tickets as before.
regards.
52
Please log an issue on https://sourceforge.net/p/codeblocks/tickets/
Here it will be forgotten.
53
You can look also in Settings -> Compiler
54
I installed Code:Blocks for Windows and it detected the gcc C compiler and Digital Mars D compilers on my system. But when I created a D program and went to compile it Code::Blocks had set the GNU D compiler (GDC) as the compiler to use. That is not on my system and it failed. So I went and changed the compiler for the project to the DMD compiler. However, trying to compile with the Digital Mars compiler fails because Code::Blocks is putting a compiler option of -Wall which DMD does not support. I cannot see that setting in the Project->Build Options->Compiler Settings so I don't know how to get rid of it.
55
> "no target" in "no project"

Building without a Code::Blocks project can be unhealthy indeed...
56
recent head version, svn12458
Just take codeblocks project as the example will re-show the issue.
Im not sure if it same for windows version.
57
What happens if you run the executable from terminal?
58
Code
-------------- Build file: "no target" in "no project" (compiler: unknown)---------------

gcc   -c /media/IDE/ProgrammingCode/0._Console/c_programs/pointers-addressof.c -o /media/IDE/ProgrammingCode/0._Console/c_programs/pointers-addressof.o
g++  -o /media/IDE/ProgrammingCode/0._Console/c_programs/pointers-addressof /media/IDE/ProgrammingCode/0._Console/c_programs/pointers-addressof.o   
Process terminated with status 0 (0 minute(s), 2 second(s))
0 error(s), 0 warning(s) (0 minute(s), 2 second(s))

Code
$ ls -lAtr
total 176
-rwxrwx--x 1 edward   1002   581 Nov 24  2013  FileExistance.c
-rwxrwx--x 1 edward   1002  2083 Mar 28  2016  playwav-sdl.c
drwxrwx--x 3 edward   1002  4096 Mar  4 21:21  cpp
drwxrwx--x 2 edward   1002  4096 Mar  4 21:21 'learning asynchronous programming'
-rwxr-xr-x 1 edward edward   120 Jun  5 10:36  test.c
-rwxr-xr-x 1 edward edward 16632 Jun  5 10:36  a.out
drwxr-xr-x 4 edward edward  4096 Jun  5 13:54  Ch02-01
drwxr-xr-x 2 edward edward  4096 Jun  5 14:40  pre-defined-headers
-rwxr-xr-x 1 edward edward   966 Jun  5 15:32  staticvar.c
-rw-r--r-- 1 root   root    2960 Jun  5 15:33  staticvar.o
-rwxr-xr-x 1 root   root   16808 Jun  5 15:33  staticvar
-rwxr-xr-x 1 edward edward  2576 Jun  5 16:25  bubblesort.c
-rwxr-xr-x 1 edward edward  3040 Jun  5 16:50  quicksort.c
-rwxr-xr-x 1 edward edward   235 Jun  5 16:58  using-strlen.c
-rwxr-xr-x 1 edward edward   732 Jun  6 07:03  array-passin-and-return-values.c
-rwxr-xr-x 1 edward edward   845 Jun  6 07:35  struct-pass-ins.c
-rwxr-xr-x 1 edward edward   788 Jun  6 08:10  struct-curlybracketsassign.c
-rwxr-xr-x 1 edward edward   745 Jun  6 08:14  struct-arrays-of-structs.c
-rwxr-xr-x 1 edward edward   951 Jun  6 08:19  struct-array-swap-elements.c
-rwxr-xr-x 1 edward edward  1433 Jun  6 08:23  struct-returnvalue.c
-rwxr-xr-x 1 edward edward   741 Jun  6 08:44  pointers-addressof.c
-rwxr-xr-x 1 edward edward   308 Jun  6 08:59  pointers-incrementing.c
-rwxr-xr-x 1 edward edward   495 Jun  6 09:07  pointers-incrementing-usingduplicatestring.c
-rwxr-xr-x 1 edward edward   585 Jun  6 09:13  pointers-incrementing-plusplusbefore-orafter.c
-rwxr-xr-x 1 edward edward   157 Jun  6 09:20  count.c
-rwxr-xr-x 1 edward edward   371 Jun  6 10:51  pointers-loops-increments-with-int_iterator.c
-rw-r--r-- 1 edward edward  2648 Jun 13 14:18  pointers-addressof.o
-rwxr-xr-x 1 edward edward 16624 Jun 13 14:18  pointers-addressof

but I have the compiler set as gcc
59
Version, example project?
I think something like this has been fixed already recently.
60
As the topic, the selected active build target tree item does not match the current active build target selected in the combobox of the current project.
Because, when the build options dialog being shown, it will check if there was a real build target select, if so, it would make the real build target as selected.
However, if there were some virtual build target existed, the current real target index would based its first non-zero real index within the whole target array.
so, this code line should be modified as:
Pages: 1 2 3 4 5 [6] 7 8 9 10