User forums > Help

Completion suddenly stopped working

<< < (3/4) > >>

questionderby:

--- Quote from: stahta01 on June 24, 2021, 08:40:16 pm ---And, this raises concern to me, also. But, I think it is not related to you Code Completion issue.

--- Code: ---Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1014,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1013,wx containers,compatible with 2.8).

--- End code ---

Tim S.

--- End quote ---

For some reason I see that on every Linux OS I used for now(Arch, Void, Ubuntu etc.)

questionderby:
I've made quite a simple file:


--- Code: ---cat hi.c
#include <stdio.h>

main()
{
printf("Hello!\n");
}

--- End code ---


--- Code: ---gcc hi.c
hi.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int]
    3 | main()
      | ^~~~

--- End code ---


--- Code: ---./a.out
Hello!

--- End code ---

Doesn't look like anything is wrong...

stahta01:
Do you have g++ installed?
You built using gcc. On Linux you can only install gcc sometimes.

Tim S.

 

questionderby:

--- Quote from: stahta01 on June 24, 2021, 11:33:22 pm ---Do you have g++ installed?
You built using gcc. On Linux you can only install gcc sometimes.

Tim S.

--- End quote ---

I mean...


--- Code: ---g++ --version
g++ (GCC) 10.2.1 20201203
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

--- End code ---


--- Code: ---g++ hi.c
hi.c:3:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    3 | main()
      | ^~~~

--- End code ---


--- Code: ---./a.out
Hello!

--- End code ---

I really don't want to find another IDE just for code completion... This one's too good to give up

stahta01:
Does anyone know if you need a CB project for Code Completion to work?

The OP may or may not be using a project.

I give up on helping the OP; since, I am not on Linux or use CC much no more can I do.

Tim S.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version