Problem to create a struc

Hello,

In my project, i cannot create a simple ustruct even if I copy/paste an existing and functional struct from an other file: it always fails to build. More precisely, the “GENERATED_USTRUCT_BODY” is always underlined with the error message “this declaration has no storage class or type specifier”. And the first thing after that is marked as “expected ;”
Here is the code of my header (but this problem occurs everywhere) :

#pragma once
    #include "GameFramework/PawnMovementComponent.h"
    #include "MyMovementComponent.generated.h"
    
    USTRUCT()
    struct MyStruct
    {
    	GENERATED_USTRUCT_BODY()// underlined with "this declaration has no storage class or type specifier"
    
    	UPROPERTY()
    		float f; // f is marked with "expected ;"
    
    	MyStruct(){
    	};
    };
    
    UCLASS()
    class PROTOGAMEPLAY_API UMyMovementComponent : public UPawnMovementComponent
    {
    	GENERATED_UCLASS_BODY()
    	
    };

As you can see, i have not forget the .generated.h, so i don’t understand from where this error comes.
To finish, i work with UE 4.5.

Thank you in advance.

The constructor for the struct shouldn’t have the last “;”. Here is an working example:

USTRUCT()
struct FTest
{
	GENERATED_USTRUCT_BODY()

	UPROPERTY()
	bool bVariable;

	FTest() {}
};

Thanks for your rapid answer,

Effectively i forget that ; but that’s not the origin of the problem.
Maybe an include or someting else, or UE itself? (I’ll try to reinstall it)

After a cleaning and a rebuild of my project, I managed to launch it but the false error that I described is always there.
That’s weird and annoying but if it works… Problem solved. (If someone knows how to solve that, I would be happy to know)…