What do you consider flirting VS friendly?

Is giving a compliment to the opposite sex flirting? examples: if you're having a conversation and tell the person they're funny? Or cute (in a non sexual way) or you enjoy talking. Or they're easy to talk to. Basically any complaint pertaining to their personality? Flirting or friendly?
What do you consider flirting VS friendly?
Post Opinion