Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Help / Compiler Optimizations
« Last post by mikejp56 on Today at 06:34:52 pm »
Hi All,
I am using CB with Linux Mint 20. I get the following warning "/usr/lib/avr/include/util/delay.h:112:3: warning: #warning "Compiler optimizations disabled; functions from <util/delay.h> won't work as designed" [-Wcpp]
 # warning "Compiler optimizations disabled; functions from <util/delay.h> won't work as designed"
I have set the compiler optimizations for 1, 2, and 3, but I still get the same warning.
I am pretty new to CodeBlocks and AVR programming.
Please point me in the correct direction.
Thanks for reading.
Regards,
mikejp56
2
Good catch, the bots are getting smarter in hiding links.
3
Using Code::Blocks / Re: gdb of better compiler not working
« Last post by Miguel Gimenez on Today at 01:55:30 pm »
GNU has changed the output of the "info breakpoints" command in GDB 13. From Sourceware change log:
Quote
* "info breakpoints" now displays enabled breakpoint locations of
  disabled breakpoints as in the "y-" state.  For example:

   (gdb) info breakpoints
   Num     Type           Disp Enb Address            What
   1       breakpoint     keep n   <MULTIPLE>
   1.1                         y-  0x00000000000011b6 in ...
   1.2                         y-  0x00000000000011c2 in ...
   1.3                         n   0x00000000000011ce in ...

The Enb column previously showed 'y' or 'n', now it shows 'y-' or 'n'. This may be fooling the debugger plugin.
4
Using Code::Blocks / Re: gdb of better compiler not working
« Last post by Grit Clef on Today at 12:51:43 pm »
Then maybe Xaviou's build can be suitable?
5
Plugins development / Re: Code completion using LSP and clangd
« Last post by MaxGaspa on Today at 11:24:34 am »
I see that you're not clicking either inside a class or a function.
Do this, after the clicked file has parsed, click inside a function, not at the top of an editor file.

Yes, clicking inside a function or class works. Thanks
6
Spam reported to moderator.
7
Hi.  Would a more recent compiler version fix the compiling issue ??
This upgrade seems a difficult process.
And where do you locate the correct "compile" files and what version to choose??
Regards JC.......
Recent mingw-w64 gcc are  definetly better in standard implementations.
Fresh one can be found here:
https://winlibs.com/
and here:
https://github.com/niXman/mingw-builds-binaries/releases/web
In my humble opinion proper version is
x86_64-13.2.0-release-win32-seh-ucrt-rt_v11-rev0.7z
or
i686-13.2.0-release-win32-dwarf-ucrt-rt_v11-rev0.7z
which using ucrt and native win32 threads in standard libs.

Thank you!
8
Using Code::Blocks / Re: gdb of better compiler not working
« Last post by nenin on Today at 07:43:50 am »
Never mind I ve figured it out turns out these nightly versions do not support 13.2 yet. So I have switched to 13.1 and now it works.
I have nighties (including last one) running with 13.2 gcc (nixman) without such problems. 
9
Using Code::Blocks / Re: gdb of better compiler not working
« Last post by nenin on Today at 07:41:48 am »
Recent GDB introduced some changes in the output so parsing failed. This was fixed in r13162 a year ago, try the last nightly.
Here is potential other issue: The 01 April 2024 build (13496) is actually built with gcc 13.2, all its dlls- with gcc 13.1. At my experience  mixing of the c++ libraries is a lottery.
10
Using Code::Blocks / Re: gdb of better compiler not working
« Last post by mckl on Today at 07:16:26 am »
Never mind I ve figured it out turns out these nightly versions do not support 13.2 yet. So I have switched to 13.1 and now it works.
Pages: [1] 2 3 4 5 6 ... 10