Skip to main content
0 votes
0 answers
63 views

I'm compiling a project with a header that has the following code: class ITKCommon_EXPORT Object : public LightObject { // -- snip -- mutable std::unique_ptr<MetaDataDictionary> ...
einpoklum's user avatar
  • 140k
1 vote
2 answers
175 views

This code (reduced from the Chromium codebase) is accepted by Clang but rejected by GCC: template<class T> concept Concept = requires {typename T::marker;}; #define INJECT_MARKER using marker = ...
kinokijuf's user avatar
  • 1,003
1 vote
1 answer
70 views

This code works fine: do { let (data, _) = try await URLSession.shared.data(from: urlobj) return data } catch { return nil } Why this code does not compile after I change try to try?? ...
user31617718's user avatar
1 vote
1 answer
212 views

After updating my project to .NET 9 and now using Community Toolkit 12, I can't understand why I get this "ArgumentException": System.ArgumentException: 'Ambiguous routes matched for: //...
Giacomo's user avatar
  • 31
1 vote
1 answer
104 views

Having a bit of difficulty resolving an ambiguous reference to the Random method on the following line: Random result = new Random(); The error is: 'Random' is an ambiguous reference between 'Oxide....
Tony Merryfield's user avatar
1 vote
1 answer
84 views

I created project on appwrite and to connect it with my project I added dependency to my gradle file : implementation 'io.appwrite:sdk-for-android:8.0.0' and in Java import android.content.Context; ...
Muhammad Xasanboyev's user avatar
0 votes
0 answers
24 views

In my database all tables have key Id. How should I join tables correctly? For example, right now I'm trying to join the Users and Companies tables like this: export class UserService<ServiceParams ...
Tomasz Wańkowicz's user avatar
0 votes
3 answers
157 views

I would like to make this code compile and run: import Data.List main = print $ elemIndices [] [] Without adding specific type annotations. The error it gives is: Ambiguous type variable ‘a0’ arising ...
Darren Smith's user avatar
3 votes
2 answers
164 views

Consider the following code: #include <vector> #include <iostream> struct MySqlStream { template<class T> MySqlStream &operator<<( const std::vector<T> &...
ChrisMM's user avatar
  • 10.2k
1 vote
0 answers
51 views

I'm on a team with two other devs. For the past few months I've been working on a project in C# 12 independently, and only recently have the other devs pulled my code and run it. For one of them it ...
mdirks's user avatar
  • 73
-1 votes
1 answer
171 views

I'm using Laravel Livewire with PowerGrid v2.x and have a query that joins multiple tables to display transaction data. Both transactions and invoices tables contain a transaction_type column, which ...
user1527237's user avatar
0 votes
1 answer
176 views

How do I fix this exception? It is preventing me from starting a Helidon server. I am running TestNG from Eclipse IDE. This does not happen if I execute mvn clean package. ... Caused by: org.jboss....
Nathan's user avatar
  • 9,145
1 vote
1 answer
342 views

I need to find out where can be wrong function called. I use this construct for years in thousands of places: var mQuery:TIBOQuery; begin mQuery := CreateQuery(FirebirdTransaction); try with ...
rotursoft's user avatar
0 votes
0 answers
117 views

I have a CRTP base class CRTPBase<Child, T> from which inherits the child class Child<T>. My goal is to be able to compare two values of type Child<T> using operator==. However, I ...
Christopher Miller's user avatar
0 votes
0 answers
68 views

I have a problem when compiling this line of code: var span = m_tracer.StartActiveSpan("FileTrace"); What's strange about this is, this exact same line of code compiles just fine in other ...
Yossi G.'s user avatar
  • 1,171

15 30 50 per page
1
2 3 4 5
45