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

  • Home
  • SEARCH
  • 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 428159
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T19:38:53+00:00 2026-05-12T19:38:53+00:00

I want to use a unsigned int32, using gcc 4.3.3 on Ubuntu 9.04. However,

  • 0

I want to use a unsigned int32, using gcc 4.3.3 on Ubuntu 9.04.

However, when I declare this:

unsigned int32 dev_number;

I get an compile error:

error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dev_number’

Any suggestions?

  • 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-05-12T19:38:53+00:00Added an answer on May 12, 2026 at 7:38 pm

    I’m sure exactly what you’re trying to achieve. Are you trying to have an unsigned int called int32? Or are you trying to have an unsigned 32 bit integer variable?

    In the latter case, you can try to use stdint.h, which defines a set of types guaranteed (I believe?) to contain at least the set of bits specified.

    #include <stdint.h>
    
    uint32_t my_var;
    

    In the former case, I can’t see why your line shouldn’t work.

    unsigned int32 = 42;
    
    printf ("int32 = %u\n", int32);
    

    prints int32 = 42 as expected.

    HTH

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

Sidebar

Related Questions

I want use this 1 for using Bar code or QR code scanner. I
I want to use this struct in visual c++: struct iphdr { unsigned int
I want to use a assembly in a SSIS task. However, it is unsigned
I have an very strange error: when I want to use the SocialServer::Client class
I want to manipulate a texture which I use in opengl using CUDA. Knowing
I want to use the STL's Map container to lookup a pointer by using
I found this tutorial http://sqllessons.com/categories.html and I want to use the described method as
I want use BYTE_ORDER macro in my Xcode project but i can't because i
I want use javascript setInterval function to achieve a box rotate animate effect, I
I want use a single php file to handle all of my voting requests.

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.