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 votes
0 answers
13 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
1 vote
1 answer
33 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
46 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
67 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
31 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
36 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
62 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
11 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
0 votes
1 answer
47 views

invalid initialization of reference pair [duplicate]

I am doing coding questions on a site and I encountered a problem. I get this error from their compiler: I get this too sortmatrixlin.cpp:21:35: required from here /usr/include/c++/4.8/bits/stl_algo....
Mateiasgt's user avatar
0 votes
1 answer
67 views

nextjs "Error: Unsupported Server Component type: undefined"

My code is like below 'use client'; import { UserGroupIcon, HomeIcon, DocumentDuplicateIcon, } from '@heroicons/react/24/outline'; import Link from 'next/link'; import { usePathname } from '...
Kundera's user avatar
  • 155
0 votes
0 answers
22 views

"from freegames import square, vector" yielding missing import error

I was coding a game in Python when I tried to run the window and realized freegames wasn't working. I tried installing freegames, uninstalling/reinstalling it, changing my Python path, restarting my ...
GP22248's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
1374