Skip to main content

Questions tagged [compilation]

Compilation is the transformation of source text into some other form or representation. The most common usage of this tag is for questions concerning transformation of a programming language into machine code. This tag is normally used with another tag indicating the type of the source text such as a programming language tag (C, C++, Go, etc.) and a tag indicating the tool or compiler being used for the transformation (gcc, Visual Studio, etc.).

compilation
1 vote
1 answer
73 views

JS string concatenation optimization

Recently I've been implementing a simple logger for JS library, the example looks like this: class Logger { static level: 'error' | 'info' = 'error'; static error(message: string) { if (this....
Slava.In's user avatar
  • 931
-2 votes
0 answers
56 views

Compile-time function renaming for C [closed]

I have project written in C language for Visual Studio 2019/2022. Is it possible to make compile-time function renaming? For instance, if I have the source code: RENAME_TEST void DummyFunction() { ...
Kracken's user avatar
  • 660
1 vote
0 answers
24 views

How does Antlr4 support both integers and decimals in terms of lexicon? [duplicate]

I wrote a case study that can perform conventional mathematical operations on integers and decimals grammar Calculation; calculation: expr EOF; // Parser rules expr: expr (ADD|SUB) expr | expr (...
Apollo Elon's user avatar
0 votes
0 answers
15 views

Daemon compilation failed: Could not connect to Kotlin compile daemon

Good morning, I am having a problem when compiling my react native application, it throws this error: e: Daemon compilation failed: Could not connect to Kotlin compile daemon java.lang....
Javier Albornoz's user avatar
0 votes
0 answers
35 views

tried running a powshell script told running scripts is disabled on [duplicate]

I created a simple PowerShell script that is a .ps1 file extension. I tried running it and I.\hello.ps1 : File C:\Users\JohnZalubski\desktop\hello.ps1 cannot be loaded because running scripts is ...
John Z's user avatar
  • 21
0 votes
2 answers
34 views

How do I fix a VBA missing procedure error?

I'm trying to create an Excel workbook where I can populate an array with digits 1-99. The process I'm trying to create is to select a digit by clicking a button that would link to a VBA macro that ...
Bob's user avatar
  • 1
0 votes
0 answers
31 views

Typescript/Node.js file extensions - 'module not found' when trying to run the app

I'm facing a problem with the configuration of my node.js/typescript project. The imports need extensions otherwise I got an error - 'ERR_MODULE_NOT_FOUND'. But if include .ts to them then i will need ...
Christian's user avatar
1 vote
0 answers
37 views

How to get g++ to find .so files?

Seemingly as simple as can be: I want to link a shared object file and use a function from it. However, I can't even get this to work in the following simple use case: In the directory /my_proj I have ...
Etay Livne's user avatar
1 vote
0 answers
79 views

"package crypto/ecdh is not in std" when using gccgo

I'm trying to compile a program written in Go. With Go standard compiler everything work and the program is generated normally. But when I switch to gccgo compiler, errors like this appears: $ go ...
przemyslawo's user avatar
-1 votes
0 answers
19 views

how do I know which compiler am I using for nextJS?

I am developing my website using nextJS, and I want to know, How do I know for sure which compiler is being used right now? Using the search feature in VS code, I get results for both babel and SWC. ...
a_duck's user avatar
  • 9
0 votes
0 answers
15 views

Compiling with AJC in IntelliJ giving error

I'm trying to compile a program using AspectJ in IntelliJ, but I'm getting the error message ajc: unrecognized single argument: "-proc:none". I'm also getting an error message that says ...
William Rave's user avatar
0 votes
0 answers
39 views

Get this error statement: Process 'command 'C:\src\flutter\flutter\bin\flutter.bat'' finished with non-zero exit value 1

Whenever I try to run an app, I get the error code below. There is absolutely no solution for this online, and it is getting really frustrating. FAILURE: Build failed with an exception. Where: Script '...
Joe Jills - learning Flutter's user avatar
0 votes
1 answer
79 views

I don’t understand what is causing dll creation

I use 3 libraries, I connected all of them using vcpkg using static, compile in Release/MT, but I don't understand why 2 of them are created dynamically: libcrypto-3-x64.dll and ssh.dll Through ...
user25479256's user avatar
0 votes
1 answer
16 views

how to make my single header also be compatible to be compiled as module

I have some little library header primary focused to be just included using preprocessor. But i also want to let somebody compile it to a module. As i assume now i can just add some lines modues does ...
Yuriy's user avatar
  • 1
1 vote
1 answer
47 views

Error while loading shared libraries: libpq.so.5

I am trying to write a basic client for Postgres integration in C using libpq, I compiled the libraries following the Client-only installation on this page and so far so good, I compile my program ...
Lorenzo Cesana's user avatar

15 30 50 per page
1
2 3 4 5
1161