Category "compilation"

Use --enable-stdcall-fixup to disable these warnings

I am trying to build a dll in C++ in which I use a C dll with prototypes like : int __stdcall foo();. When linking, the compiler outputs: Warning: resolving _fo

Compiling error while compiling two java files in the same package that use each other

Suppose we have two .java files in the same directory. Test.java: public class Test { public void func() { System.out.println("Hello World"); }

Flex and Bison compiler doesn't show lexical errors when he meets one syntax error

I'm coding a compiler using Flex and Bison, I coded yyerror(char*) and some printf() messages to show lexical and syntax errors. I tested my code by adding some

Check which jar is being used by classes for compilation & execution(runtime)

I've a very big project where thousands of classes are using 100s of third party jars. I need to find out list of jars used by every single class in the project

Limit integer and decimal parts length in flex

Is there a way I can extract the number of digits before and after the '.' in a float in Flex? I want to limit the number of digits in the integer part to 4, an

g++ compilation won't end

I've been trying solve some problem with this code. In my machine, It compiled with no errors with g++ "File_name.cpp" but on the judges machine it uses this

Bundle application is defined as damaged on Mac M1 after uploading on drive and redownloaded

When I compile ioquake3 (or others bundle) on my Mac M1 and then I upload it on google drive (or others drive site), if I redownload it, it will always says tha

JIT compilation failed for NgModule class

Here i got an Error like JIT Compilation failed and needed to flag some -aot and etc.. stuff

GMP works when compiling with makefile but not with cmake

I am trying to include <gmp.h> in my project. A very simple Makefile compiles it successfully: CC=gcc -std=c11 -w LIBR=-lm -lgmp FLAGS=-O0 all: test tes

How to access the files in the res folder in the imgui conan package?

I am using conan to handle dependencies, for those of you familiar with imgui, it provides a series of backends you can include. When you look at the conan pack

Contracts do not compile with zksync-solc. Their ABI and bytecode seem to be printed as an error

I am pretty new to development and asking questions on stackoverflow, so if there is something else I could provide, please tell me in comments! I have installe

visual studio 2019 cant exclude folder from build in .csproj

I am trying to exclude an entire folder from being build in my vscode project, I have edited my project file to look like this: <Project Sdk="Microsoft.NET.S

failed to synchronize cache for repo AppStream

My centos machine has no connection to internet. I need to install make utility to compile some modules from source code. I am getting this error while i run yu

'error Command "webpack" not found.' in Heroku deployment of Rails application

I'm having difficulty getting my Rails application deployed on Heroku. I've seen numerous similar posts but none of the suggested solutions has worked for me. E

"undefined reference" error when trying to compile a fortran program with external dependencies using ifort

I am using the following command to compile my fortran program, which is the last line of the result of the hdf5 h5fc command on my Ubuntu 20.04.4 LTS x86_64 ma

apex image failed to build android rom compiling

I'm trying to build crdroid 10 for my z5p I followed the guide given on GitHub and set my environment synced the files and after hours of building, I'm facing e

Java program runs yet compilation fails

I wrote a Java program whose filename was (intentionally) different from the class I wrote inside the file. The javac command failed as expected on both CMD and

BTF: .tmp_vmlinux.btf: pahole (pahole) is not available

Getting this error while compiling the kernel version :5.7-rc4 BTF: .tmp_vmlinux.btf: pahole (pahole) is not available Failed to generate BTF for vmlinux Try t

openGauss installation issue

i am hitting an issue when installing openGauss: File "/xxx/script/gspylib/os/gsfile.py", line 25, in <module> raise Exception("[GAUSS-52200] : Unable to

Why does CMake set -no-fat-lto-objects when I enable LTO/IPO?

I'm enabling IPO (inter-procedural optimization) for a C compilation of mine, using CMake: set_property(TARGET foo PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE)