Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9259747
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:43:51+00:00 2026-06-18T12:43:51+00:00

My problem is that I cant find how to disable warning 4700 (variable used

  • 0

My problem is that I cant find how to disable warning 4700 (variable used without initialisation)…
My code is the next:

#pragma warning(disable :4700)
double** f;
optimumWindowSize(Mv[seed_coord.x][seed_coord.y],f,&winsize);
#pragma warning(default :4700)

Inside optimumWindowSize I call a function that initializes the variable f, so actually I am not using it without initialisation, but still the compiler gives me the warning. I only want to disable it here, not in all the code, but with my code above I don’t disable it.

What I am missing?
How can I disable it?

NOTE: F will be a winsizeXwinsize matrix after the function

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T12:43:52+00:00Added an answer on June 18, 2026 at 12:43 pm

    I found the answer, Is is just needed to initialize the f variable with NULL and the warning is gone.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've bumped into a small problem that i cant seem to find the fix
I've got one head scratcher of a problem that I can't seem to find
I can't find a solution for that. I managed to solve the problem of
Problem <script type=text/javascript src=http://localhost/ci/js/global_functions.js></script> <script type=text/javascript src=http://localhost/ci/js/global.js></script> Why can't global.js find a function that
I have a problem that i cant solve :( I have a user control
I am generating assembly on runtime . Problem is that i cant get rid-of
$(window).bind(beforeunload,function(){ return cant be seen in ff; }); The problem is that i can't
Simple problem that I can't figure out... How can I print a '%' character
i have a problem that i can't solve ! (sqlite3, but i think it
I have a problem that I can't resolve. Let's say I have this map

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.