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 8950989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T13:33:55+00:00 2026-06-15T13:33:55+00:00

I made a stupid mistake (forgot semicolon, too much Python lately), but got an

  • 0

I made a stupid mistake (forgot semicolon, too much Python lately), but got an interesting error message from gcc: “expected ‘,’ or ‘;’ before ‘if'”.

I know those error messages provide just an “upper bound” for possible source code, but I’d like to know if there is any construct in C such that “if” token really comes after ‘,’ and not after ‘;’.

  • 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-15T13:33:56+00:00Added an answer on June 15, 2026 at 1:33 pm

    After isn’t necessarily immediately after. The error message is more: ‘I’ve just hit an ‘if’ construct. At this point I was expecting either an end to the (previous) statement, or the next item in the list. One of those things must be before this ‘if’, so I’m letting you know’

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

Sidebar

Related Questions

I made the stupid mistake of creating too many models in the same Django
I'm pretty new to python so it's prolly a stupid mistake i made. I'm
I made a stupid mistake, I called myControl.Controls.Add(myControl); . Easy enough. The interesting thing
I made a mistake and entered: SELECT * FROM table LIMIT1 instead of SELECT
Ive made a stupid error in a production system. I chose JOINED strategy instead
I made a stupid mistake by upgrading my SDK version to r15 as the
EDIT: Solved it! I made stupid mistake, I had a textureId I'd forgotten about
I know its kinda embarrassing 'cause I made a very stupid mistake by manually
------------------NOTICE---------------- Sorry guys, made a stupid mistake, I had found this fix already: https://devforums.apple.com/message/32282
I've made a pretty stupid mistake with a git repository and lost some files

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.