V
V
vista1x2015-01-03 14:04:07
MinGW
vista1x, 2015-01-03 14:04:07

How to remove unnecessary from the compiler?

Hello.
There was a need to cut some functions from the MinGW and MS Visual Studio compilers (in fact, it would even be better to leave only those that are needed).
How to do it? I understand that you can simply delete the files in which these functions are described. But how do you find the right files?
For example, I want to disable the system() function in the MinGW compiler. How to do it?
I would be grateful for useful links.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
jackroll, 2015-01-03
@jackroll

In Visual Studio you write system(""); move the mouse over it, right-click and click on Show Definition; Then you will figure it out yourself.

M
maaGames, 2015-01-03
@maaGames

// destroy.h
#define system forbidden__system__
And include this header in the project.
All in all, you're being stupid.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question