x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Intellisense errors when including file

How is it even possible? alt text alt text

The source file is also messed, it says that methods does not belong to ASpotlightLampActor.

Product Version: UE 4.16
Tags:
without.png (25.0 kB)
with.png (27.5 kB)
more ▼

asked Mar 11 '18 at 02:52 PM in C++ Programming

avatar image

Poeta Kodu
1 1

avatar image Atheist91 Mar 11 '18 at 03:40 PM

Hi.

Where exactly do you see these errors? In Output after compilation or just in Error List window?

If that's the 2nd, then you should ignore it as this window doesn't work very well with UE4 and displays false errors. Attempting to compile will tell you if there are actual problems or not.

In case it's the 1st one (Outpit), could you show what errors are you getting?

avatar image Poeta Kodu Mar 11 '18 at 03:42 PM

These are only intellisense errors but they are extremely annoying - in fact it disables any code completion, tooltips etc. Project compiles fine. I am using VS 2017 Preview 6.0, but I asked also question how to switch it to non-preview version - maybe that is the case.

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Try to set every #include before "...generated.h"

more ▼

answered Mar 11 '18 at 02:57 PM

avatar image

Nazdorovye
54 1 5 8

avatar image Poeta Kodu Mar 11 '18 at 03:00 PM

Does not do anything.

avatar image Nazdorovye Mar 11 '18 at 03:17 PM

either way, the -generated.h file should always be the last #include in a header

avatar image Poeta Kodu Mar 11 '18 at 03:22 PM

Okay. Forward declaration also does not work.

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question