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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T23:41:41+00:00 2026-06-10T23:41:41+00:00

The android NDK is complaining about this: #include <stdio.h> int fileno (FILE *stream); //line

  • 0

The android NDK is complaining about this:

#include <stdio.h>
int fileno (FILE *stream); //line 27 io.h

It says:

jni/application/io.h:27:5: error: expected ')' before '*' token
jni/application/io.h:27:5: error: expected ')' before '->' token

I would understand if FILE was some macro, but it’s not, it’s just the one from stdio.

If I take out the *stream I get:

int fileno (FILE);
jni/application/io.h:27:5: error: expected ')' before '->' token

I can’t understand where it’s getting the -> token from.

  • 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-10T23:41:42+00:00Added an answer on June 10, 2026 at 11:41 pm

    Wait I see, fileno is macro in stdio.h

    So was expanding to:

    int ((FILE* stream)->_file);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have started teaching myself about the Android NDK and I have followed this
I am using NDK for my project... My android.mk file LOCAL_PATH:=$(call my-dir) include $(CLEAR_VARS)
I've read some articles about Android NDK. Most of them claim Native C is
I need a help in javah and android-ndk. I tryed to generate H-file for
Is popen not supported by android NDK? I read this page and wondering if
I summon the Android NDK debugging Ninjas here! I've tried so many tutorials about
After reading the Android NDK documentation i am a bit confused on this issue.
I'm trying to use libxml2 with android ndk. When I run the make file,
I want to use FFmpeg with Android-NDK and I am very basic in this
I have a C++ Android application that I'm trying to debug with ndk-gdb. The

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.