Skip to main content

Questions tagged [compiler-errors]

An error that is generated during the compilation phase, often due to problems with invalid syntax and/or types. Compare to [runtime-error].

1 vote
1 answer
33 views

MemoryStream.Write works on Client but not on Server?

I have a very basic understanding about what I am doing. So I was following a tutorial about a chat app on C# and there are 2 classes which are comletely same however; while the code works completely ...
obtein's user avatar
  • 13
-2 votes
1 answer
55 views

Is Python a selectively interpreted language? Why does the following code not work?

As a program runs from top to bottom, why does the following code throw an error directly without executing the first line in the block? if 5 > 2: print("Two is less than Five!") ...
Akshay_J's user avatar
0 votes
0 answers
19 views

IntelliJ IDEA 2024 Does Not Recognize sealed Keyword with Java 21

I'm using IntelliJ IDEA 2024 and I want to create a sealed class in Java. However, when I try to use the sealed keyword, IntelliJ does not recognize it. My project is configured to use Java 21, which ...
Omesh Nuhara's user avatar
-2 votes
0 answers
10 views

Compile back a decompiled .exe file [closed]

So I recently decompiled a .exe file, but it has many files after I decompiled it I need to compile it back to one .exe file by bringing this question to stack overflow I hope someone can help me fix ...
Rub Vers's user avatar
1 vote
0 answers
28 views

"No include path in which to find stdio.h" error

I get this error when I try to run a C program: E:\c_stuff>gcc frist_c.c -o frist_c frist_c.c:1: No include path in which to find stdio.h But I already did reinstall MinGW and added the C:\minGW\...
Vishaka Rajapaksha's user avatar
0 votes
0 answers
21 views

Java Package can't import mypack.*

I have 2 java files in mypack that have package mypack; i have a third java file that tries to import them when i use import mypack.*; it doesnt work when i use import mypack.Package1; import mypack....
NimbusDev57's user avatar
-3 votes
1 answer
87 views

Kyan Pascal: compiler error "Too many indices on the closing bracket of a[t]" [closed]

In Kyan Pascal for the Commodore 64, I keep getting the error: Too many indices on the closing bracket of a[t] ...in the first line of my first procedure: For t := 1 to 100 do a[t] := t; Whole ...
John Guillory's user avatar
-1 votes
0 answers
18 views

expression works in excel but not vba

Having named volt_array and coef_array in an excel workbook, the expression =SERIESSUM(INDEX(volt_array,2),0,1,INDEX(coef_array,,1)) in excel produces the expected result -.000644218. But running ...
Christopher Paul's user avatar
0 votes
1 answer
43 views

Plethora of bogus errors in Xcode/Swift

I have a large Swift project that I'm writing in Xcode. It compiles & runs fine. Starting yesterday, I've been seeing a huge number of bogus errors showing up, hundreds of them all at once. Things ...
ConfusionTowers's user avatar
-2 votes
0 answers
48 views

growisofs - How do I fix the errors returned by attempting to compile it in cygwin? [closed]

Context: I'm attempting to build growisofs from its source code (version 7.1) using the following command in the Cygwin terminal: make TARGET_ARCH=-m64, but it gives me several errors when I attempt ...
moochandaleech's user avatar
-10 votes
0 answers
70 views

"undefined reference to `WinMain@16'" error in VS Code. Same program runs fine in online compilers [closed]

c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../libmingw32.a(main.o):(.text.startup+0xa0): undefined reference to `WinMain@16' collect2.exe: error: ld returned 1 exit status This error happens every ...
Utkarsh Kumar's user avatar
0 votes
0 answers
35 views

IntelliJ Scala 2.13.0 no longer compiles - Error compiling the sbt component 'compiler-bridge-2.13.0-66.0'

I am working on a hobby project on my desktop using Scala 2.13.0 and JDK 22. The project compiles and runs perfectly fine there. This project is also on my personal GitHub. Because I went on holiday ...
Jumper Snipèra's user avatar
1 vote
1 answer
40 views

Failing to compile package from Mac [duplicate]

I'm trying to install a package in R, and I get the following error: clang: error: unsupported option '-fopenmp' This, is after I got an error: ld: warning: search path '/opt/gfortran/lib/gcc/aarch64-...
Kozolovska's user avatar
  • 1,109
-1 votes
0 answers
65 views

Why is my JSP code with a switch expression not working?

I'm trying to run this JSP code but it doesn't work, I get HTTP Status 500. Why? Aren't switch expressions supported? I do not want to use a switch statement, so please do not tell me to use this old ...
Ignis's user avatar
  • 19
2 votes
0 answers
37 views

Weird behavior dealing with c++ std::variant comparison and operator functions [duplicate]

I have been trying to make a game in Visual Studio using c++17, and I created a class type called ErrorType to represent all the error numeric values (nan, inf, etc). By using std::variant<long ...
RandomGuy's user avatar

15 30 50 per page
1
2 3 4 5
1373