User forums > General (but related to Code::Blocks)

code compliation not working properly

(1/2) > >>

websnake:
I am a newbie in codeblocks (and also newbie in programming  :? ).

when i type something in codeblocks like "in" it show all related result starting from "in" like int, inline, intmax_t, int16_t etc.

but when i type something related from windows library it does not shows anything, like when i type "Get" it should show "GetAsyncKeyStates" or something like that which is related to windows.h.

i am having same problem with every library.

i am using codeblocks 10.5 (windows 7).

oBFusCATed:
Update to one of the latest nightlies.
The problem should be fixed there or C::B's CC should highly improved (there are problems with hairy marco expansions and templates).

websnake:

--- Quote from: oBFusCATed on January 26, 2011, 02:39:39 pm ---Update to one of the latest nightlies.
The problem should be fixed there or C::B's CC should highly improved (there are problems with hairy marco expansions and templates).


--- End quote ---

now i am using the latest nightly builds.

things are now a bit improved but still not bug free.
when i chose to work with a .c file the code completion works properly but when i chose to work with .cpp files i am getting the same problem again.

am i doing something wrong or its a bug in codeblocks.

ollydbg:

--- Quote from: websnake on January 26, 2011, 03:47:58 pm ---
--- Quote from: oBFusCATed on January 26, 2011, 02:39:39 pm ---Update to one of the latest nightlies.
The problem should be fixed there or C::B's CC should highly improved (there are problems with hairy marco expansions and templates).


--- End quote ---

now i am using the latest nightly builds.

things are now a bit improved but still not bug free.
when i chose to work with a .c file the code completion works properly but when i chose to work with .cpp files i am getting the same problem again.

am i doing something wrong or its a bug in codeblocks.

--- End quote ---
would you post the steps to produce this bug and show how your code sample?
So that, we can help you and fix these kind of bug.

ollydbg

websnake:
the codeblocks is not showing any library functions of any .cpp project till i close the project and reopen it again


--- Code: ---#include<iostream>
#include<conio.h>
#include<time.h>

using namespace std;

int main()

{
    time_t rawtime;
    struct tm * timeinfo;
    time(&rawtime);
    timeinfo = localtime(&rawtime);
    cout<<asctime(timeinfo);
    getch();
    return 0;

}

--- End code ---

when i type this code its showing function time_t, return, struct but its not showing any functions related to time.h library.

and when close and reopen the same file again every thing is working fine. it shows all the time.h and other library functions properly.

i think its a bug and i hope it will get fixed soon.
if anyone knows how can i fix this then please let me know.

(i am using Code::blocks SVN 6931 nightly builds)

off topic question -- does anyone know how to setup codeblocks to work with pspsdk.
my pspsdk is properly working. just need to attach it with codeblocks and compile the program.


 

Navigation

[0] Message Index

[#] Next page

Go to full version