Mix sugar, flour, salt, milk and eggs. Cook over medium heat until thick. Add vanilla. Place wafers and bananas in bottom of bowl. Pour part of mixture over wafers and bananas. Repeat layering until filling is gone.