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
0 answers
22 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
71 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
17 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
37 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
47 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
33 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
38 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
2 votes
0 answers
64 views

Base class not recoginsed while using wild card generic

Why is the below not working? A b1 = new B(); Function<? super B, ? extends A> function = x -> new B(); A apply = function.apply(b1); It gives an error "Required type capture of ? ...
Sijo Kurien's user avatar
-6 votes
0 answers
60 views

Compilation error: a function-definition is not allowed here before '{' token [closed]

Im new at Arduino Programming, and I'm getting this compilation error Compilation error: a function-definition is not allowed here before '{' token Here is the code and its getting that error from ...
Owsam Stevens's user avatar
0 votes
0 answers
29 views

C:\Users\DELL\AppData\Local\Temp\cctSSakm.o:test.c:(.text+0x1e): undefined reference to `get_string' collect2.exe: error: ld returned 1 exit status

I see the error c:\Users\DELL\AppData\Local\Temp\cc61L1BV.o:test.c:(.text+0x1e): undefined reference to `get_string' collect2.exe: error: ld returned 1 exit status C #include <stdio.h> #include ...
ayham's user avatar
  • 1
0 votes
0 answers
12 views

Cannot Find Solution to this React Native Expo Gradle Error

Task :app:compileReleaseKotlin FAILED e: file:///C:/Users/Saad/Storeapp/android/app/src/main/java/com/sio/Storeapp/MainActivity.kt:2:25 Unresolved reference: R e: file:///C:/Users/Saad/Storeapp/...
Ogasia Game's user avatar

15 30 50 per page
1
2 3 4 5
1374