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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:27:21+00:00 2026-05-27T02:27:21+00:00

Possible Duplicate: Why does gcc have “â” in all its error messages? New to

  • 0

Possible Duplicate:
Why does gcc have “â” in all its error messages?

New to C programming, and I’m using GCC. I’m noticing a lot of “a-hat” outputs from GCC, and I’m starting to feel like I could miss some important information if this continues. For example:

/usr/include/gconv.h:72: error: expected declaration specifiers or â before â
/usr/include/gconv.h:174: error: expected specifier-qualifier-list before â
/usr/include/libio.h:486: error: expected â, â, â, â or â before â
/usr/include/stdio.h:308: error: expected declaration specifiers or â before â
/usr/include/stdio.h:610: error: expected â, â, â, â or â before â
DATA_a.txt: In function â:
DATA_a.txt:3: error: expected expression before â token
DATA_a.txt:3: error: â undeclared (first use in this function)
Txvalues.c:11: error: expected expression before â token

Anyone know why I’m seeing these a-hats, and how to replace them with something more meaningful? I’m not interested in fixing the bugs in the program (I created them on purpose to show lots of errors with a-hats). But since all bugs show these a-hats (real or created), I want to know how to setup GCC to replace these a-hats with meaningful information.

  • 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-27T02:27:21+00:00Added an answer on May 27, 2026 at 2:27 am

    I think they’re Unicode quotes.

    Using

    export LC_ALL=C
    

    before compiling gets rid of the “a-hats” for me.

    Attention: I don’t know what implications (if any) this has. Use at your own risk.

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

Sidebar

Related Questions

Possible Duplicate: Why does “abcd”.StartsWith(“”) return true? Whilst debugging through some code I found
Possible Duplicate: what does “@” means in c# What does the sign @ mean
Possible Duplicate: What does “options = options || {}” mean in Javascript? Looking at
Possible Duplicate: What does this “(function(){});”, a function inside brackets, mean in javascript ?
Possible Duplicate: Why does “abcd”.StartsWith(“”) return true? Something similar to this being true caught
Possible Duplicate: Does it make sense to use the <table> tag on a “modern”
Possible Duplicate: What does “for(;;)” do in C#? what does for (; ; )
Possible Duplicate: How does the Google Did you mean? Algorithm work? Suppose you have
Possible Duplicate: How does StackOverflow generate its SEO-friendly URLs? I made a simple form
Possible Duplicate: C programming, why does this large array declaration produce a segmentation fault?

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.