Skip to main content
2 votes
1 answer
95 views

How to fix the now deprecated assert_options?

Consider this code: // Make assertions throw exception assert_options( ASSERT_CALLBACK, function ($file, $line, $code, $desc = null) { $dest = $...
Lajos Arpad's user avatar
5 votes
2 answers
1k views

Flutter 3.35.2: What is the replacement for deprecated groupValue and onChanged in Radio widget?

I recently upgraded my project to Flutter 3.35.2 (Dart 3.9.0), and I’m seeing deprecation warnings when using the Radio widget. Here is the simplified code: Radio( splashRadius: 0, value: value, ...
saeed z's user avatar
  • 1,116
4 votes
2 answers
150 views

Is assigning string literal to mutable char* legal on newer language revisions or just warned against by compilers?

Related to Is it bad to declare a C-style string without const? If so, why? , but that question is about best practise, while mine is more language lawyer. Similar questions have been asked, but for C+...
Dominik Kaszewski's user avatar
5 votes
2 answers
613 views

How can I achieve the same effects as rememberSystemUiController since it has been deprecated?

I was upgrading my version of libraries in my Android project and I saw that rememberSystemUiController() is deprecated. I was doing like this to make the status and navigation bar green: val ...
Ajay Satpati's user avatar
0 votes
1 answer
31 views

Why is clEnqueueWaitForEvents deprecated? It seems indispensible

I'm looking at the clEnqueueWaitForEvents() OpenCL API function. As I see it, this is a real boon. You see, almost all clEnqueueXXX functions take an array-of-events, and the size of that array, to ...
einpoklum's user avatar
  • 137k
0 votes
0 answers
36 views

Having issues with implementing Google Drive sign-in with AndroidX‑Credentials/Identity - Simple android notes app

Im at my wits end with implementing the syncing functionality to my simple notes app for android that I created using kotlin and jetpack compose. So Im a total beginner on coding and have ...
Kianvash Ghahari's user avatar
3 votes
1 answer
84 views

Obsolete marking for members about to become abstract?

The ObsoleteAttribute can be used in .NET to indicate that a given member or type is going to be removed in a future version. It will trigger compiler warning 612 or 618 on the code that uses the ...
F-H's user avatar
  • 1,213
0 votes
1 answer
193 views

How to replace the deprecated plugin function with the apply function in Gradle

The Android Studio's Empty Activity default configuration calls the plugin function in two places: in the FirstEmpty/build.gradle.kts script: import org.gradle.kotlin.dsl.support....
doru001's user avatar
6 votes
3 answers
6k views

How to resolve "Synthetic package output (package:flutter_gen) is deprecated" warning in Flutter 3.29.0?

After upgrading Flutter to version 3.29.0 and Dart to version 3.7.0, I started seeing the following warning in the console when running my app on both Android and iOS: Synthetic package output (...
saeed z's user avatar
  • 1,116
-1 votes
1 answer
91 views

Safe alternative for mcrypt_get_iv in current situation [closed]

I ran into a client that is running on PHP 5.6, and it looks like it was made back, right when encryption was starting to be a thing but supported decryption for passwords. Now, they do NOT need ...
Jason Thompson's user avatar
8 votes
1 answer
617 views

C wasm debugging does not work in Chrome 133

I'm building a C wasm app using emscripten. I'm using emscripten 3.1.45. I was able to debug the C wasm modules in Chrome, and I could see the C source files in the "Sources" tab of Chrome ...
franksands's user avatar
  • 2,135
3 votes
1 answer
2k views

Warning appears after starting jest - Importing "setup-jest.js" directly is deprecated

After starting Jest (in my case version 29.7.0), the following message appears: Importing "setup-jest.js" directly is deprecated. The file "setup-jest.js" will be removed in the ...
Janos Vinceller's user avatar
0 votes
0 answers
15 views

Handlebars site unable to locate files with all references confirmed correct

I am a new developer. I have been working with Handlebars and have come across a problem that AI can't seem to solve. After creating and testing several forms successfully, eventually I create a form ...
Michele Rochon-Wood's user avatar
80 votes
9 answers
45k views

Why is withOpacity deprecated in Flutter 3.27.0, and what is its recommended replacement?

I'm upgrading my Flutter project to version 3.27.0, and I noticed that the withOpacity method is marked as deprecated. I'm using it in my code as follows: SizedBox( height: 55, width: 50, ...
saeed z's user avatar
  • 1,116
2 votes
1 answer
1k views

gradle how to substitute a deprecated method [LenientConfiguration.getArtifacts(Spec)]

I am working quite newly with Gradle using SpringFrameWork and came upon the compilation error: The LenientConfiguration.getArtifacts(Spec) method has been deprecated. This is scheduled to be removed ...
BananaJoe's user avatar
  • 107

15 30 50 per page
1
2 3 4 5
172