Tag Archives: errors

errors , bugs and how to fix this

error: invalid conversion from ‘void*’ to ‘HFONT__*’

It is common error when you write or read the C source code. I might encounter when I compile with code::blocks one C file.

You won’t get that error if you compile as C file. But you got the next error if you compile like a C++ program.

So , you need to… Read More »

Segmentation fault : error 6 in ld- .. .so

You can solve this error:

by using this:

If you want to execute the prelink script daily , then go on:

error: ‘memset’ was not declared in this scope

If you receive: error: ‘memset’ was not declared in this scope

Fix it by including: #include <cstring> in the source of C++file. If you use C than use : #include <string.h> .