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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T18:59:08+00:00 2026-06-16T18:59:08+00:00

So I have a very basic C program to try and test clang_complete :

  • 0

So I have a very basic C program to try and test clang_complete:

#include <stdio.h>
#include <stdlib.h>

struct xampl {
  int x;
};

int main()
{
  struct xampl structure;
  struct xampl *ptr1;
}

However, every time I try to do structure. or ptr1->, the program gives me the error:

User defined completion (^U^N^P) Pattern not found.

I tried adding this to my vimrc:

let g:clang_user_options='|| exit 0' -- 

(from this thread) but, the completion still doesn’t work.

Is there something I am missing or not understanding here?

  • 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-16T18:59:09+00:00Added an answer on June 16, 2026 at 6:59 pm

    When you say ptr-> you mean ptr1-> right?
    I have only two strings in my .vimrc

    let g:clang_complete_copen=1
    let g:clang_hl_errors=1
    

    and your example works fine for me. Make sure you have .clang_complete file with valid include paths (see :help clang_complete for example file). Try to debug clang completer by set up variable let g:clang_debug=1. And read this thread maybe it help you.

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

Sidebar

Related Questions

I have a very basic program in C++ compiled in VS 11 Beta on
I'm having some trouble with a very basic CUDA program. I have a program
I have the following part of a program, which emulates a very basic menu.
I have a very basic Visual Basic Program that I created in Visual Studio
So I have this very basic program that is trying to send an e-mail,
I have a program very basic with just functions and variables and performs some
I have a very basic program on GridView with some buttons as in the
So I have this weird looking problem: my very basic program generates an error
I have a very basic mysql table called memberships, that tracks which people belong
I have a very basic API in my app which also has an index

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.