Tags » Compile

C warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [enabled by default]

memcpy를 이용해 목적지가 const인 값을 복사하려고 하면
컴파일러 경고에의해 고정(const)인 값지 버려진다고 경고합니다.

structure 가 다음과 같다고 할때

struct picedit_system
{
        struct line_list line_list;
        const char * current_file;
        BOOLEAN quit;
};
… 22 more words
C#

Efficiency

I wanted to delete the boolean variable x because it didn’t seem to have any effect on the program. Everywhere the getX() function was used, it was always of the form: 274 more words

Build

[wip] Using a Bramble as a Gramble

The Bramble has been setup and running in a previous post.

1- Making sure MPI works fine

In the NFS folder create a mpi_hello.c… 387 more words

Ubuntu

Can't apply that type to a super!

Another compiling error as I work on getting Android Nougat on the TBLTEXX/TBLTETMO Samsung Galaxy Note Edge. This time, it will not allow me to return processUnsolicited(p) as a type under “super” like so: 183 more words

Android

Getting started with Cryptography Library

There are many cryptography libraries available for use and my suggestion is when you are implementing a cryptography algorithm then don’t do it by yourself, instead use one of these libraries like OpenSSL, WolfSSL, PolarSSL etc. 170 more words

RSA

Wframe-larger-than error!

It’s been a while since I’ve seen this happen, and although I’ve mentioned it before, it just goes to show that it is an ongoing issue. 306 more words

Compile

Adding a hotplug alternative or option to a kernel

Today was a pretty fun day. By God’s grace, I was able to add intelli_plug, a hotplug alternative made by Faux123, to my JFLTE kernel! Adding a hotplug was a lot easier than I thought it would be, and only required one trimming of the code by Faux123 to make it work on my kernel. 314 more words

Android